You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
申し訳ありませんでした 🙇♂️ Sorry for causing the problems here, will open a fix PR very soon.
actually the cause here is quite interesting and my changes are only triggering a bug that was already there :)
Bug report
Upgrading to 1.7.3 and re-running analyze threw an Internal Error at code that was using
array_pop
in a loop.The error only happens when there are more than 1 non-literal string item in the popped array.
I'm guessing it was caused by phpstan/phpstan-src#1352.
Code snippet that reproduces the problem
https://phpstan.org/r/8d3f63e7-9e1b-4935-a6be-73bc3908dc7f
Expected output
No Error.
Did PHPStan help you today? Did it make you happy in any way?
I love how it keeps evolving everyday.
Many thanks to all the people working on it.
The text was updated successfully, but these errors were encountered: