You are here

public function Drupal_Sniffs_Semantics_FunctionTSniff::registerFunctionNames in Coder 7.2

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

Return value

array

File

coder_sniffer/Drupal/Sniffs/Semantics/FunctionTSniff.php, line 29

Class

Drupal_Sniffs_Semantics_FunctionTSniff
Check the usage of the t() function to not escape translateable strings with back slashes. Also checks that the first argument does not use string concatenation.

Code

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