Skip to content

Fix false positive of function.alreadyNarrowedType (function call variable assignment) #4237

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: 2.1.x
Choose a base branch
from

Conversation

staabm
Copy link
Contributor

@staabm staabm commented Aug 11, 2025

@staabm
Copy link
Contributor Author

staabm commented Aug 11, 2025

Looking at issuebot results tells me that I need a different approach

@staabm staabm changed the title Ignore FuncCall which takes assignment in args Fix false positive of function.alreadyNarrowedType (function call variable assignment) Aug 12, 2025
@staabm staabm marked this pull request as ready for review August 12, 2025 09: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