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
Currently, Psalm will not warn about undeclared global functions if they exist in src/Psalm/CallMap.php.
This cuts down on false positives but introduces some false negatives.
Psalm allows users to provide stub files already - This can be used for extensions that wouldn't be loaded during analysis, such as apache, xdebug, etc.
@TysonAndre Would you consider this fixed by the new extension loading system in #7107? Extension defined functions are still in the CallMap right now, but they'll be removed in #7641.
Got bit by this today: app used legacy GeoIP function which, as far as I know, are deprecated, and no easy way to get an extension for latest Debian stable is provided.
No errors from Psalm, luckily our CI caught the issue before the app going live.
Currently, Psalm will not warn about undeclared global functions if they exist in src/Psalm/CallMap.php.
This cuts down on false positives but introduces some false negatives.
I'm thinking of something along the line of this config setting
The text was updated successfully, but these errors were encountered: