public function Drupal_Sniffs_Commenting_InlineCommentSniff::register in Coder 7.2
Returns an array of tokens this test wants to listen for.
Return value
array
File
- coder_sniffer/
Drupal/ Sniffs/ Commenting/ InlineCommentSniff.php, line 41
Class
- Drupal_Sniffs_Commenting_InlineCommentSniff
- PHP_CodeSniffer_Sniffs_Drupal_Commenting_InlineCommentSniff.
Code
public function register() {
return array(
T_COMMENT,
T_DOC_COMMENT,
);
}