Skip to content

Skip @type inside docblock description in TypeToVarTagFixer - #81

Open
TomasVotruba wants to merge 1 commit into
mainfrom
skip-type-in-docblock-description
Open

TomasVotruba wants to merge 1 commit into
mainfrom
skip-type-in-docblock-description

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

TypeToVarTagFixer replaced @type anywhere in a comment, including description text, e.g. in Symfony config reference array shapes:

- *         include_type?: bool|Param, // Always include @type in updates (including delete ones). // Default: false
+ *         include_type?: bool|Param, // Always include @var in updates (including delete ones). // Default: false

Now only @type at the start of a doc line is converted. Added a skip fixture.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant