Skip to content

Conversation

VincentLanglet
Copy link
Contributor

@VincentLanglet VincentLanglet commented Jun 26, 2025

@VincentLanglet VincentLanglet marked this pull request as ready for review June 26, 2025 10:46
@phpstan-bot
Copy link
Collaborator

This pull request has been marked as ready for review.

@VincentLanglet
Copy link
Contributor Author

I don't think it's enough to close #4073 @ondrejmirtes but at least I hope it will help.

Seems like this fix:

  • Avoid false positive
  • Do not produce any tested regression (and even if there is, I think it's better for PHPStan to have false-negative rather than false-positive)

@ondrejmirtes ondrejmirtes merged commit 7538546 into phpstan:2.1.x Jul 17, 2025
418 of 420 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