You are here

public function FunctionTriggerErrorSniff::registerFunctionNames in Coder 8.3

Same name and namespace in other branches
  1. 8.3.x 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\Semantics

Code

public function registerFunctionNames() {
  return [
    'trigger_error',
  ];
}