public function DocCommentStarSniff::register in Coder 8.3.x
Same name and namespace in other branches
- 8.3 coder_sniffer/Drupal/Sniffs/Commenting/DocCommentStarSniff.php \Drupal\Sniffs\Commenting\DocCommentStarSniff::register()
- 8.2 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\CommentingCode
public function register() {
return [
T_DOC_COMMENT_OPEN_TAG,
];
}