Bug report
When i use the function array_first in a PHP 8.4 code base, PHPStan doesn't report it as non existing anymore.
I was able to track the bug down to version 2.1.32 (in 2.1.31 function.notFound still is reported), but the bug exists up to the latest version 2.2.12
I was not able to reproduce the behaviour in the playground, I don't know what version you deployed there...
Code snippet that reproduces the problem
Should report like in the playground, but it doesn't
Expected output
228 Function array_first not found.
🪪 function.notFound
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
Did PHPStan help you today? Did it make you happy in any way?
not today, but PHPStan made my code so much better. :)
Bug report
When i use the function array_first in a PHP 8.4 code base, PHPStan doesn't report it as non existing anymore.
I was able to track the bug down to version 2.1.32 (in 2.1.31 function.notFound still is reported), but the bug exists up to the latest version 2.2.12
I was not able to reproduce the behaviour in the playground, I don't know what version you deployed there...
Code snippet that reproduces the problem
Should report like in the playground, but it doesn't
Expected output
228 Function array_first not found.
🪪 function.notFound
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
Did PHPStan help you today? Did it make you happy in any way?
not today, but PHPStan made my code so much better. :)