aik099 / CodingStandard

The PHP_CodeSniffer coding standard I'm using on all of my projects
BSD 3-Clause "New" or "Revised" License
5 stars 2 forks source link

Disallow usage of superglobals #91

Open aik099 opened 8 years ago

aik099 commented 8 years ago

Report any occurence of super global (http://php.net/manual/en/language.variables.superglobals.php). In ideal world there should not be any, because the abstraction layer from one of Composer libraries (e.g. symfony/http-foundation) should be used.

Superglobals: