public function FileCommentSniff::register in Coder 8.3
Same name and namespace in other branches
- 8.2 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<int|string>
File
- coder_sniffer/
Drupal/ Sniffs/ Commenting/ FileCommentSniff.php, line 38 - 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 [
T_OPEN_TAG,
];
}