Skip to content

Iterate in getBooleanExpressionDepth()#6091

Merged
staabm merged 2 commits into
phpstan:2.2.xfrom
staabm:simple
Jul 23, 2026
Merged

Iterate in getBooleanExpressionDepth()#6091
staabm merged 2 commits into
phpstan:2.2.xfrom
staabm:simple

Conversation

@staabm

@staabm staabm commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

remove unnecssary method call overhead in deep || or && chains

similar to #6084

@staabm
staabm requested a review from VincentLanglet July 23, 2026 05:56
@staabm
staabm marked this pull request as ready for review July 23, 2026 05:56
@phpstan-bot

Copy link
Copy Markdown
Collaborator

This pull request has been marked as ready for review.

@staabm
staabm merged commit 7e97b9e into phpstan:2.2.x Jul 23, 2026
739 of 741 checks passed
@staabm
staabm deleted the simple branch July 23, 2026 06:25
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.

3 participants