surda / phpstan-rules
Various PHPStan rules
v1.0.0
2023-03-10 12:00 UTC
Requires
- php: >=8.0
- phpstan/phpstan: ^1.10
Requires (Dev)
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: ^9.5
- tracy/tracy: ^2.8
This package is auto-updated.
Last update: 2024-11-10 15:38:46 UTC
README
Installation
The recommended way to is via Composer:
composer require --dev surda/phpstan-rules
Manual installation
Include rules.neon in your project's PHPStan config:
includes: - vendor/surda/phpstan-rules/rules.neon
Rules
disallowedFunctionCalls
Disallow Tracy functions dump(), bdump(), dumpe()