ekino/phpstan-banned-code
PHPStan extension to ban unwanted code in your project. Detects calls like var_dump, dd, eval, exit/die, echo/print, shell exec/backticks, and even “use” imports from Tests in non-test files. Configurable rules for CI enforcement.
|
Package
|
Constraint
|
|---|---|
| phpstan/phpstan | ^2.0 |
|
Package
|
Constraint
|
|---|---|
| ergebnis/composer-normalize | ^2.6 |
| friendsofphp/php-cs-fixer | ^3.0 |
| nikic/php-parser | ^5.4 |
| phpstan/phpstan-phpunit | ^2.0 |
| phpunit/phpunit | ^11.5 |
| symfony/var-dumper | ^6.4 |
How can I help you explore Laravel packages today?