public function ClassFilesSniff::register in Coder 8.2
Same name and namespace in other branches
- 8.3 coder_sniffer/Drupal/Sniffs/InfoFiles/ClassFilesSniff.php \Drupal\Sniffs\InfoFiles\ClassFilesSniff::register()
- 8.3.x coder_sniffer/Drupal/Sniffs/InfoFiles/ClassFilesSniff.php \Drupal\Sniffs\InfoFiles\ClassFilesSniff::register()
Returns an array of tokens this test wants to listen for.
Return value
array
File
- coder_sniffer/
Drupal/ Sniffs/ InfoFiles/ ClassFilesSniff.php, line 32
Class
- ClassFilesSniff
- Checks files[] entries in info files. Only files containing classes/interfaces should be listed.
Namespace
Drupal\Sniffs\InfoFilesCode
public function register() {
return array(
T_INLINE_HTML,
);
}