You are here

public function FileCommentSniff::register in Coder 8.2

Same name and namespace in other branches
  1. 8.3 coder_sniffer/Drupal/Sniffs/Commenting/FileCommentSniff.php \Drupal\Sniffs\Commenting\FileCommentSniff::register()
  2. 8.3.x coder_sniffer/Drupal/Sniffs/Commenting/FileCommentSniff.php \Drupal\Sniffs\Commenting\FileCommentSniff::register()

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

Return value

array

File

coder_sniffer/Drupal/Sniffs/Commenting/FileCommentSniff.php, line 49
Parses and verifies the doc comments for files.

Class

FileCommentSniff
Parses and verifies the doc comments for files.

Namespace

Drupal\Sniffs\Commenting

Code

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