Registry / other / ekino-phpstan-banned-code

ekino-phpstan-banned-code

JSON →
library3.2.0phppackagistunverified

Detected banned code using PHPStan, preventing usage of specified functions or methods.

composer require ekino/phpstan-banned-code
INSTALL
IMPORT
SIG · EKINO-PHPSTAN-BANN
E
ekino-phpstan-banned-code
otherphpv3.2.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.

BannedFunctionRule
✓ use Ekino\PHPStan\BannedCode\Rules\BannedFunctionRule;

Create a rule to ban var_dump calls.

use Ekino\PHPStan\BannedCode\Rules\BannedFunctionRule; $rule = new BannedFunctionRule(['var_dump']); // Add to PHPStan rules
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.2.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Amazon
2
Resources
ekino-phpstan-banned-code — pip install ekino-phpstan-banned-code · libregistry