Skip to content

Conversation

@TomasVotruba
Copy link
Member

@TomasVotruba TomasVotruba commented Dec 9, 2025

Ref: rectorphp/rector#9543


Rector already warns about rules that are used, but deprecated. That way they can be removed/adjusted in time.

For the skip option we don't have such reporting yet, so it can lead to sudden removal.

return RectorConfig::configure()
->withSkip([
        \Rector\Php81\Rector\Array_\FirstClassCallableRector::class,
]);

This PR fixes that :)

Screenshot From 2025-12-09 11-46-51

@TomasVotruba TomasVotruba changed the title tv skip depre warn [dx] warn early about deprecated skipped rules, as not neccessary to skip anymore Dec 9, 2025
@TomasVotruba TomasVotruba merged commit ca6cf9c into main Dec 9, 2025
58 checks passed
@TomasVotruba TomasVotruba deleted the tv-skip-depre-warn branch December 9, 2025 10:53
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