You are here

public function Drupal_Sniffs_Commenting_FunctionCommentSniff::register in Coder 7.2

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

Return value

array

File

coder_sniffer/Drupal/Sniffs/Commenting/FunctionCommentSniff.php, line 80

Class

Drupal_Sniffs_Commenting_FunctionCommentSniff
Parses and verifies the doc comments for functions. Largely copied from Squiz_Sniffs_Commenting_FunctionCommentSniff.

Code

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