Skip to content

Conversation

@herndlm
Copy link
Contributor

@herndlm herndlm commented Nov 11, 2024

Doing this in the generalized finalScope which includes an already filtered bodyScope is too late and causes false-positives.

Fixes phpstan/phpstan#11992
Improves endless loop detection as in cases like phpstan/phpstan#736
And most likely it fixes what was mentioned in the discussion phpstan/phpstan#11986 too

Follow-up for #3573

@ondrejmirtes ondrejmirtes merged commit fd6a0f2 into phpstan:1.12.x Nov 11, 2024
453 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

Development

Successfully merging this pull request may close these issues.

2 participants