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