Registry / utility / spaze-phpstan-disallowed-calls

spaze-phpstan-disallowed-calls

JSON →
library4.12.0phppackagistunverified

PHPStan rules to detect disallowed method & function calls, constant, namespace, attribute, property & superglobal usages, with powerful rules to re-allow a call or a usage in places where it should be allowed.

composer require spaze/phpstan-disallowed-calls
INSTALL
IMPORT
SIG · SPAZE-PHPSTAN-DISA
S
spaze-phpstan-disallowed-calls
utilityphpv4.12.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DisallowedHelper
use Spaze\PHPStan\Rules\Disallowed\DisallowedHelper;

Basic usage of the disallowed calls helper class

use Spaze\PHPStan\Rules\Disallowed\DisallowedHelper; $helper = new DisallowedHelper(); // Configure and use with PHPStan
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.12.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
spaze-phpstan-disallowed-calls — pip install spaze-phpstan-disallowed-calls · libregistry