ekino/phpstan-banned-code
PHPStan extension that flags banned code patterns in your project (e.g., var_dump, dd, exit/die, eval, echo/print, shell exec/backticks). Configurable via PHPStan parameters, with optional checks like preventing use imports from Tests in non-test code.
|
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 | ^10.5 |
| symfony/var-dumper | ^6.4 |
How can I help you explore Laravel packages today?