Skip to content

[traversing] Remove deprecated beforeTraverse method reporter - #8542

Merged
TomasVotruba merged 1 commit into
mainfrom
remove-deprecated-before-traverse-reporter
Oct 8, 2026
Merged

TomasVotruba merged 1 commit into
mainfrom
remove-deprecated-before-traverse-reporter

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Removes reportDeprecatedRectorUnsupportedMethods() from DeprecatedRulesReporter, which warned about the long-deprecated beforeTraverse() method on Rector rules.

The $rectors constructor dependency existed only to feed this check, so it is dropped along with the now-unused imports and the matching class_exists PHPStan ignore. Both command call sites and the test are updated.

@TomasVotruba TomasVotruba changed the title [Reporting] Remove deprecated beforeTraverse method reporter [traversing] Remove deprecated beforeTraverse method reporter Oct 8, 2026
@TomasVotruba
TomasVotruba enabled auto-merge (squash) October 8, 2026 16:57
@TomasVotruba
TomasVotruba merged commit eb70369 into main Oct 8, 2026
50 checks passed
@TomasVotruba
TomasVotruba deleted the remove-deprecated-before-traverse-reporter branch October 8, 2026 16:59
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