spaze / phpstan-disallowed-calls

PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute & superglobal usages
MIT License
255 stars 17 forks source link

Functions & methods can be disallowed only when called from listed functions & methods #138

Closed spaze closed 1 year ago

spaze commented 1 year ago

With allowExceptInFunctions (and aliases allowExceptInMethods, disallowInFunctions, disallowInMethods).

Fix 1337 #137