Skip to content

Conversation

@TomasVotruba
Copy link
Member

@TomasVotruba TomasVotruba commented Dec 22, 2025

The Rector::beforeTraverse() is now marked as soft @final, but not everyone uses PHPStan to check their custom rules and has this check enabled.

This is a simple feedback on Rector's run to prepare about depreaction of this method in safe way everyone notices. That way we prevent WTF when this method will actually become final and removed in the future.

Related PR #7728

@TomasVotruba TomasVotruba force-pushed the tv-warn-about-before-traverse branch from 0cd995e to 08735ab Compare December 22, 2025 13:20
@TomasVotruba TomasVotruba force-pushed the tv-warn-about-before-traverse branch from 8bd045f to aec723a Compare December 22, 2025 13:23
@TomasVotruba TomasVotruba merged commit 083c728 into main Dec 22, 2025
58 checks passed
@TomasVotruba TomasVotruba deleted the tv-warn-about-before-traverse branch December 22, 2025 13:27
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.

2 participants