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

[DeadCode] Add support remove unused in between private method parameter for RemoveUnusedPrivateMethodParameterRector #1321

Merged
merged 8 commits into from
Nov 27, 2021

Conversation

samsonasik
Copy link
Member

@samsonasik samsonasik commented Nov 27, 2021

remove both of:

  1. param in method
  2. arg in caller as well

Fixes rectorphp/rector#6834

@samsonasik samsonasik force-pushed the remove-unused-in-between-private-method-param-args branch from 4a34ce9 to 3cfe09e Compare November 27, 2021 05:57
@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba it is ready for review.

@samsonasik samsonasik changed the title [DeadCode] Add support remove in between private method parameter for RemoveUnusedPrivateMethodParameterRector [DeadCode] Add support remove unused in between private method parameter for RemoveUnusedPrivateMethodParameterRector Nov 27, 2021
@TomasVotruba
Copy link
Member

Thank you 😊 very nice improvement

@samsonasik samsonasik merged commit 40ec551 into main Nov 27, 2021
@samsonasik samsonasik deleted the remove-unused-in-between-private-method-param-args branch November 27, 2021 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants