Replies: 1 comment 1 reply
-
This is a bug that should be fixed, please open a bug report. A workaround is to use variables: https://phpstan.org/r/be6bb9b6-961d-40dd-afb0-89684e89ac8c |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm doing assert on a variable, changing it, then doing assert again. Phpstan still think that the variable have not changed and that the assert is duplicated
https://phpstan.org/r/3a8b69b5-722c-4d13-a8ee-e640d7c59a27
How do I tell phpstan that the second assert is not duplicate ?
Beta Was this translation helpful? Give feedback.
All reactions