Classes
Table of Contents
Classes
- ForbiddenAbstractPrivateMethodsSniff
- Abstract private methods are not allowed since PHP 5.1.
- NewAnonymousClassesSniff
- Anonymous classes are supported since PHP 7.0.
- NewClassesSniff
- Detect use of new PHP native classes.
- NewConstVisibilitySniff
- Visibility for class constants is available since PHP 7.1.
- NewLateStaticBindingSniff
- Detect use of late static binding as introduced in PHP 5.3.
- NewTypedPropertiesSniff
- Typed class property declarations are available since PHP 7.4.
- RemovedOrphanedParentSniff
- Using `parent` inside a class without parent is deprecated since PHP 7.4.