Skip to content

Filter less expression types#4937

Open
VincentLanglet wants to merge 2 commits intophpstan:2.1.xfrom
VincentLanglet:bug13984
Open

Filter less expression types#4937
VincentLanglet wants to merge 2 commits intophpstan:2.1.xfrom
VincentLanglet:bug13984

Conversation

@VincentLanglet
Copy link
Contributor

@VincentLanglet VincentLanglet commented Feb 15, 2026

I dunno if this is the famous "hard-to-reproduce bug" you tried to fix @ondrejmirtes
image
since you touched related code f65449b

as markus reported the initial commit introducing the issue as #4719
(cf phpstan/phpstan#13984 (comment))

I looked at every expr class and seems like not filtering FuncCall is solving the issue.

Seems like it
Fixes phpstan/phpstan#13984

@VincentLanglet VincentLanglet changed the title Reproducer for 13984 Filter less expression types Feb 15, 2026
@VincentLanglet VincentLanglet marked this pull request as ready for review February 15, 2026 12:29
@VincentLanglet VincentLanglet requested review from ondrejmirtes and staabm and removed request for staabm February 15, 2026 12:30
@phpstan-bot
Copy link
Collaborator

This pull request has been marked as ready for review.

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