public function InlineCommentSniff::register in Coder 8.3
Same name and namespace in other branches
- 8.2 coder_sniffer/Drupal/Sniffs/Commenting/InlineCommentSniff.php \Drupal\Sniffs\Commenting\InlineCommentSniff::register()
- 8.3.x coder_sniffer/Drupal/Sniffs/Commenting/InlineCommentSniff.php \Drupal\Sniffs\Commenting\InlineCommentSniff::register()
Returns an array of tokens this test wants to listen for.
Return value
array<int|string>
File
- coder_sniffer/
Drupal/ Sniffs/ Commenting/ InlineCommentSniff.php, line 37
Class
Namespace
Drupal\Sniffs\CommentingCode
public function register() {
return [
T_COMMENT,
T_DOC_COMMENT_OPEN_TAG,
];
}