Skip to content

[TypeDeclarationDocblocks] Register MergePhpstanDocTagIntoNativeRector in type declaration docblock level - #8763

Merged
TomasVotruba merged 1 commit into
mainfrom
tv-register-merge-phpstan-docblock
Oct 22, 2026
Merged

TomasVotruba merged 1 commit into
mainfrom
tv-register-merge-phpstan-docblock

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Registers MergePhpstanDocTagIntoNativeRector in TypeDeclarationDocblocksLevel.

The rule is actively maintained and tested, but was in no set or level - it could only run via an explicit withRules(). It merges a PHPStan doc tag into the native type, which belongs to the docblock-based, more risky group of the level.

Placed in the "rules based on existing docblocks" section.

@TomasVotruba
TomasVotruba merged commit 966ee4d into main Oct 22, 2026
48 of 49 checks passed
@TomasVotruba
TomasVotruba deleted the tv-register-merge-phpstan-docblock branch October 22, 2026 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant