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

Minor refinements to MutatingScope empty() and typehint helper. #2430

Merged
merged 1 commit into from
Jun 7, 2023

Conversation

mad-briller
Copy link
Contributor

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

a simplification to MutatingScope empty() handling

and a micro-optimization in TypehintHelper to prevent multiple calls to strtolower and prevent checking mutually exclusive cases when a match is already found

@phpstan-bot
Copy link
Collaborator

You've opened the pull request against the latest branch 1.11.x. If your code is relevant on 1.10.x and you want it to be released sooner, please rebase your pull request and change its target to 1.10.x.

@mad-briller mad-briller changed the base branch from 1.11.x to 1.10.x June 1, 2023 09:04
@mad-briller
Copy link
Contributor Author

not sure about the action failures, all seem related to the processNode() method which i have not changed here

@ondrejmirtes ondrejmirtes merged commit c8032a0 into phpstan:1.10.x Jun 7, 2023
376 of 378 checks passed
@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
3 participants