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 RemoveDeadInstanceOfRector #5470
Conversation
All checks have passed 🎉 @TomasVotruba it is ready for review. |
See -if (...) {
$stmt;
$stmt2;
-} |
implemented with |
All checks have passed 🎉 @TomasVotruba I think it is ready. |
public function run(If_ $var) | ||
{ | ||
return true; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I love how you made it advanced with sub types 👏
Thanks |
rectorphp/rector-src@5a3a59c Remove collectors, as performance very costly and not practically useful (#5470)
Fixes #5458