Skip to content

Prevent unnecessary work in TypeSpecifier->createForExpr()#4707

Merged
ondrejmirtes merged 1 commit intophpstan:2.1.xfrom
staabm:less-expr2
Jan 4, 2026
Merged

Prevent unnecessary work in TypeSpecifier->createForExpr()#4707
ondrejmirtes merged 1 commit intophpstan:2.1.xfrom
staabm:less-expr2

Conversation

@staabm
Copy link
Contributor

@staabm staabm commented Jan 4, 2026

saves ~1 second on php bin/phpstan analyse src/Analyser/ src/Rules/ -v --debug

@ondrejmirtes ondrejmirtes merged commit 9487260 into phpstan:2.1.x Jan 4, 2026
631 of 641 checks passed
@ondrejmirtes
Copy link
Member

Thank you!

@staabm staabm deleted the less-expr2 branch January 4, 2026 09: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.

2 participants