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 doesn't seem to be obeying the functionMap for some rar extension functions. According to the PHP docs, this function is available with the rar extension:
Bug report
PHPStan doesn't seem to be obeying the functionMap for some
rar
extension functions. According to the PHP docs, this function is available with the rar extension:https://www.php.net/manual/en/rararchive.open.php
And the signature is defined in PHPStan's functionMap file:
https://github.com/phpstan/phpstan-src/blob/master/resources/functionMap.php#L9085
But PHPStan is still throwing an error for code that uses this function (see below).
Code snippet that reproduces the problem
https://phpstan.org/r/604a3d84-0b54-42a0-882d-0d36b2f48e0b
Expected output
rar_open
should be found, right?The text was updated successfully, but these errors were encountered: