Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Renaming] Deprecate PseudoNamespaceToNamespaceRector as too dynamic and unreliable, use the RenameClassRector instead #4755

Merged
merged 1 commit into from
Aug 10, 2023

Conversation

TomasVotruba
Copy link
Member

@TomasVotruba TomasVotruba commented Aug 10, 2023

Follow to rectorphp/rector-phpunit#242 and rectorphp/rector-symfony#505

Instead of dynamic "Namespace_*" renames, an explicit and better supported RenameClassRector should be used instead.

It will give better performance and reliable class list rename under control 💪

…and unreliable, use the RenameClassRector instead
@TomasVotruba TomasVotruba merged commit bcb51e8 into main Aug 10, 2023
44 checks passed
@TomasVotruba TomasVotruba deleted the tv-depre-namespace branch August 10, 2023 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant