You are here

public function GlobalFunctionSniff::register in Coder 8.2

Returns an array of tokens this test wants to listen for.

Return value

array

File

coder_sniffer/DrupalPractice/Sniffs/Objects/GlobalFunctionSniff.php, line 54

Class

GlobalFunctionSniff
Checks that global functions like t() are not used in forms or controllers.

Namespace

DrupalPractice\Sniffs\Objects

Code

public function register() {
  return array(
    T_STRING,
  );
}