Syntax
Table of Contents
Classes
- ForbiddenCallTimePassByReferenceSniff
- Detect the use of call time pass by reference.
- NewArrayStringDereferencingSniff
- Detect array and string literal dereferencing.
- NewArrayUnpackingSniff
- Using the spread operator for unpacking arrays in array expressions is available since PHP 7.4.
- NewClassMemberAccessSniff
- Detect class member access on object instantiation/cloning.
- NewDynamicAccessToStaticSniff
- Detect dynamic access to static methods and properties, as well as class constants.
- NewFlexibleHeredocNowdocSniff
- Detect usage of flexible heredoc/nowdoc and related cross-version incompatibilities.
- NewFunctionArrayDereferencingSniff
- Detect function array dereferencing as introduced in PHP 5.4.
- NewFunctionCallTrailingCommaSniff
- Detect trailing comma's in function calls, `isset()` and `unset()` as allowed since PHP 7.3.
- NewShortArraySniff
- Detect use of short array syntax which is available since PHP 5.4.
- RemovedCurlyBraceArrayAccessSniff
- Using the curly brace syntax to access array or string offsets has been deprecated in PHP 7.4.
- RemovedNewReferenceSniff
- Detect the use of assigning the return value of `new` by reference.