You are here

public function DocCommentStarSniff::register in Coder 8.3

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

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

Return value

array<int|string>

File

coder_sniffer/Drupal/Sniffs/Commenting/DocCommentStarSniff.php, line 31

Class

DocCommentStarSniff
Checks that a doc comment block has a doc comment star on every line.

Namespace

Drupal\Sniffs\Commenting

Code

public function register() {
  return [
    T_DOC_COMMENT_OPEN_TAG,
  ];
}