Class: Squiz_Sniffs_PHP_DiscouragedFunctionsSniff
Source Location: /PHP_CodeSniffer-1.3.0/CodeSniffer/Standards/Squiz/Sniffs/PHP/DiscouragedFunctionsSniff.php
Inherited Variables
Inherited Methods
Class Details
[line 33]
Squiz_Sniffs_PHP_DiscouragedFunctionsSniff.
Discourages the use of debug functions.
Class Variables
$error = false
[line 54]
If true, an error will be thrown; otherwise a warning.
Type:
bool
Overrides:
Array
$forbiddenFunctions = array(
'error_log' => null,
'print_r' => null,
)
[line 44]
A list of forbidden functions with their alternatives.
The value is NULL if no alternative exists. IE, the function should just not be used.
- Var: => string|null)
- Access: protected
Type:
array(string
Overrides:
Array
Documentation generated on 2019年3月11日 15:43:13 -0400 by
phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.