You are here

public function FunctionWatchdogSniff::registerFunctionNames in Coder 8.2

Same name and namespace in other branches
  1. 8.3 coder_sniffer/Drupal/Sniffs/Semantics/FunctionWatchdogSniff.php \Drupal\Sniffs\Semantics\FunctionWatchdogSniff::registerFunctionNames()
  2. 8.3.x coder_sniffer/Drupal/Sniffs/Semantics/FunctionWatchdogSniff.php \Drupal\Sniffs\Semantics\FunctionWatchdogSniff::registerFunctionNames()

Returns an array of function names this test wants to listen for.

Return value

array

File

coder_sniffer/Drupal/Sniffs/Semantics/FunctionWatchdogSniff.php, line 31

Class

FunctionWatchdogSniff
Checks that the second argument to watchdog() is not enclosed with t().

Namespace

Drupal\Sniffs\Semantics

Code

public function registerFunctionNames() {
  return array(
    'watchdog',
  );
}