PHP Class Ecg\Sniffs\Security\DiscouragedFunctionSniff

Inheritance: extends Generic_Sniffs_PHP_ForbiddenFunctionsSnif\Generic_Sniffs_PHP_ForbiddenFunctionsSniff
Exibir arquivo Open project: magento-ecg/coding-standard

Public Properties

Property Type Description
$error boolean If true, an error will be thrown; otherwise a warning.
$forbiddenFunctions The value is NULL if no alternative exists. IE, the function should just not be used.

Protected Properties

Property Type Description
$patternMatch boolean If true, forbidden functions will be considered regular expressions.

Property Details

$error public_oe property

If true, an error will be thrown; otherwise a warning.
public bool $error
return boolean

$forbiddenFunctions public_oe property

The value is NULL if no alternative exists. IE, the function should just not be used.
public $forbiddenFunctions

$patternMatch protected_oe property

If true, forbidden functions will be considered regular expressions.
protected bool $patternMatch
return boolean