FunctionNameRestrictions
Table of Contents
Classes
- NewMagicMethodsSniff
- Warns for non-magic behaviour of magic methods prior to becoming magic.
- RemovedMagicAutoloadSniff
- Detect declaration of the magic `__autoload()` method.
- RemovedNamespacedAssertSniff
- Detect declaration of a namespaced function called `assert()`.
- RemovedPHP4StyleConstructorsSniff
- Detect declarations of PHP 4 style constructors which are deprecated as of PHP 7.0.0.
- ReservedFunctionNamesSniff
- All function and method names starting with double underscore are reserved by PHP.