-
-
Notifications
You must be signed in to change notification settings - Fork 946
Closed
Labels
Description
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?
Reactions are currently unavailable