Skip to content

PHPStan rules to disallow use of global keyword and $GLOBALS variable

License

Notifications You must be signed in to change notification settings

artspeople/no-globals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHPStan rules to disallow use of global keyword and $GLOBALS variable

Usage

To use these rules, require it via Composer

composer require artspeople/no-globals --dev

Include rules.neon in your project's PHPStan config

includes:
    - vendor/artspeople/no-globals/rules.neon

About

PHPStan rules to disallow use of global keyword and $GLOBALS variable

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages