samlitowitz / no-globals
PHPStan rules to disallow use of global keyword and $GLOBALS variable
v1.1
2019-04-19 13:27 UTC
Requires
- phpstan/phpstan: 0.11.5
Requires (Dev)
- phpunit/phpunit: ^7.5
This package is auto-updated.
Last update: 2024-12-20 02:10:05 UTC
README
Usage
To use these rules, require it via Composer
composer require samlitowitz/no-globals --dev
Include rules.neon in your project's PHPStan config
includes:
- vendor/samlitowitz/no-globals/rules.neon