public function FunctionTriggerErrorSniff::registerFunctionNames in Coder 8.3.x
Same name and namespace in other branches
- 8.3 coder_sniffer/Drupal/Sniffs/Semantics/FunctionTriggerErrorSniff.php \Drupal\Sniffs\Semantics\FunctionTriggerErrorSniff::registerFunctionNames()
Returns an array of function names this test wants to listen for.
Return value
array<string>
File
- coder_sniffer/
Drupal/ Sniffs/ Semantics/ FunctionTriggerErrorSniff.php, line 30
Class
- FunctionTriggerErrorSniff
- Checks that the trigger_error deprecation text message adheres to standards.
Namespace
Drupal\Sniffs\SemanticsCode
public function registerFunctionNames() {
return [
'trigger_error',
];
}