uopz
functions are no longer using the correct signature.
#5049
Labels
Milestone
uopz
functions are no longer using the correct signature.
#5049
Bug report
PHPStan does not have the correct definition for uopz functions.
Code snippet that reproduces the problem
https://phpstan.org/r/5a195040-04b2-447e-a250-1a9716ded309
Expected output
according to https://github.com/krakjoe/uopz#api and my own usage of uopz, this should be valid.
phpstan/phpstan-src#482 (review) seems to have introduced this regression.
Did PHPStan help you today? Did it make you happy in any way?
PHPStan is great, this might very well be the first time I found it to be wrong 😱
The text was updated successfully, but these errors were encountered: