PHP Класс Ecg\Sniffs\Security\DiscouragedFunctionSniff

Наследование: extends Generic_Sniffs_PHP_ForbiddenFunctionsSnif\Generic_Sniffs_PHP_ForbiddenFunctionsSniff
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$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)

Свойство Тип Описание
$patternMatch boolean If true, forbidden functions will be considered regular expressions.

Описание свойств

$error публичное свойство

If true, an error will be thrown; otherwise a warning.
public bool $error
Результат boolean

$forbiddenFunctions публичное свойство

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

$patternMatch защищенное свойство

If true, forbidden functions will be considered regular expressions.
protected bool $patternMatch
Результат boolean