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
phpstan reports:
Missing parameter $locale (array|string|null) in call to function setlocale.
Unknown parameter $locales in call to function setlocale.
Bug report
setlocale arguments not correctly identified
setlocale(category: LC_ALL, locales: 'nl_NL');
phpstan reports:
Missing parameter $locale (array|string|null) in call to function setlocale.
Unknown parameter $locales in call to function setlocale.
php documentation states:
Code snippet that reproduces the problem
https://phpstan.org/r/a371d384-b5db-42bb-b01e-7668eb478d8f
Expected output
phpstan should not report an issue as the named arguments are according to php documentation
Did PHPStan help you today? Did it make you happy in any way?
Absolutely love phpstan, I bought a pro license
The text was updated successfully, but these errors were encountered: