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

Remove redundant conditions from RemoveUnusedCodeByPhpVersionIdVisitor. #2459

Merged
merged 1 commit into from
Jun 16, 2023

Conversation

mad-briller
Copy link
Contributor

@mad-briller mad-briller commented Jun 16, 2023

an If_ cannot be a classlike or functionlike so checking for these specifically is redundant when we check it's not an If_

@ondrejmirtes ondrejmirtes merged commit b735b66 into phpstan:1.10.x Jun 16, 2023
@ondrejmirtes
Copy link
Member

Thank you!

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.

None yet

2 participants