samlitowitz/no-globals

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

v1.1 2019-04-19 13:27 UTC

This package is auto-updated.

Last update: 2024-11-20 01:57:06 UTC


README

Build Status

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