You are here

public function Drupal_Sniffs_Functions_FunctionDeclarationSniff::register in Coder 7.2

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

Return value

array

File

coder_sniffer/Drupal/Sniffs/Functions/FunctionDeclarationSniff.php, line 29

Class

Drupal_Sniffs_Functions_FunctionDeclarationSniff
Ensure that there is only one space after the function keyword and no space before the opening parenthesis.

Code

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