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
This parameter name change is kind of an accident that happened because of this commit: phpstan/phpstan-src@cee6672
Yeah, it's not obvious from that, but the fact that it has two variants since then means that a different path is taken in Php8SignatureMapProvider and the name is taken from somewhere else.
Bug description
Error messages involving wrong types for
base64_decode()
started reporting different parameter names sometime between 1.10.16 and 1.10.18.We can see from
php --rf base64_decode
that the parameter name should be$string
:But the error message claims the parameter is called
$str
.Code snippet that reproduces the problem
https://phpstan.org/r/7dba8189-f75d-46cd-a6ac-9a6d685e5f9c
Expected output
Parameter #1 $string of function base64_decode expects string, int given.
Did PHPStan help you today? Did it make you happy in any way?
No response
The text was updated successfully, but these errors were encountered: