Skip to content

Skip @type inside docblock description in TypeToVarTagFixer - #81

Merged
TomasVotruba merged 1 commit into
mainfrom
skip-type-in-docblock-description
Sep 29, 2026
Merged

TomasVotruba merged 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.

@TomasVotruba
TomasVotruba force-pushed the skip-type-in-docblock-description branch from f6c9734 to f8d6a94 Compare September 28, 2026 19:47
@TomasVotruba
TomasVotruba merged commit c270187 into main Sep 29, 2026
9 checks passed
@TomasVotruba
TomasVotruba deleted the skip-type-in-docblock-description branch September 29, 2026 08:43
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