Skip to content

Add FixTagTypoFixer for plural doc block tag typos#32

Merged
TomasVotruba merged 4 commits into
mainfrom
tv-fix-tag-typo
Jun 26, 2026
Merged

Add FixTagTypoFixer for plural doc block tag typos#32
TomasVotruba merged 4 commits into
mainfrom
tv-fix-tag-typo

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Adds FixTagTypoFixer that fixes plural typos in doc block tags:

  • @returns@return
  • @params@param
  • @vars@var

Also handles psalm-/phpstan- prefixes.

Extends AbstractDocBlockFixer for shared token traversal. Covered with unit test + fix/skip fixtures.

@TomasVotruba TomasVotruba merged commit 3b27602 into main Jun 26, 2026
7 checks passed
@TomasVotruba TomasVotruba deleted the tv-fix-tag-typo branch June 26, 2026 09:55
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