protected property Drupal_Sniffs_Functions_DiscouragedFunctionsSniff::$forbiddenFunctions in Coder 7.2
A list of forbidden functions with their alternatives.
The value is NULL if no alternative exists, i.e., the function should just not be used.
Type: array(string => string|null)
File
- coder_sniffer/
Drupal/ Sniffs/ Functions/ DiscouragedFunctionsSniff.php, line 30
Class
- Drupal_Sniffs_Functions_DiscouragedFunctionsSniff
- Discourage the use of debug functions.
Code
protected $forbiddenFunctions = array(
// Devel module debugging functions.
'dargs' => null,
'dcp' => null,
'dd' => null,
'dfb' => null,
'dfbt' => null,
'dpm' => null,
'dpq' => null,
'dpr' => null,
'dprint_r' => null,
'drupal_debug' => null,
'dsm' => null,
'dvm' => null,
'dvr' => null,
'kdevel_print_object' => null,
'kpr' => null,
'kprint_r' => null,
'sdpm' => null,
);