Documentation

PHP

Table of Contents

Classes

DevelopmentFunctionsSniff
Restrict the use of various development functions.
DiscouragedPHPFunctionsSniff
Discourages the use of various native PHP functions and suggests alternatives.
DontExtractSniff
Restricts the usage of extract().
IniSetSniff
Detect use of the `ini_set()` function.
NoSilencedErrorsSniff
Discourage the use of the PHP error silencing operator.
POSIXFunctionsSniff
Perl compatible regular expressions (PCRE, preg_ functions) should be used in preference to their POSIX counterparts.
PregQuoteDelimiterSniff
Flag calling preg_quote() without the second ($delimiter) parameter.
RestrictedPHPFunctionsSniff
Forbids the use of various native PHP functions and suggests alternatives.
StrictInArraySniff
Flag calling in_array(), array_search() and array_keys() without true as the third parameter.
TypeCastsSniff
Verifies the correct usage of type cast keywords.
YodaConditionsSniff
Enforces Yoda conditional statements.

        
On this page

Search results