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

Do not change method if name does not need to change #700

Merged

Conversation

carlos-granados
Copy link
Contributor

The ActionSuffixRemoverRector did not check if the new name was the same as the previous name and always tried to change it, resulting in the rule being reapplied with no need for it. This PR checks if the name needs to change and only updates the method if that is the case

@samsonasik samsonasik enabled auto-merge (squash) February 14, 2025 13:02
@samsonasik
Copy link
Member

Thank you @carlos-granados

@samsonasik samsonasik merged commit 3fb5171 into rectorphp:main Feb 14, 2025
5 checks passed
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