public function DocCommentSniff::register in Coder 8.2
Same name and namespace in other branches
- 8.3 coder_sniffer/Drupal/Sniffs/Commenting/DocCommentSniff.php \Drupal\Sniffs\Commenting\DocCommentSniff::register()
- 8.3.x coder_sniffer/Drupal/Sniffs/Commenting/DocCommentSniff.php \Drupal\Sniffs\Commenting\DocCommentSniff::register()
Returns an array of tokens this test wants to listen for.
Return value
array
File
- coder_sniffer/
Drupal/ Sniffs/ Commenting/ DocCommentSniff.php, line 45 - Ensures doc blocks follow basic formatting.
Class
- DocCommentSniff
- Ensures doc blocks follow basic formatting.
Namespace
Drupal\Sniffs\CommentingCode
public function register() {
return array(
T_DOC_COMMENT_OPEN_TAG,
);
}