public function AutoAddedKeysSniff::register in Coder 8.3
Same name and namespace in other branches
- 8.2 coder_sniffer/Drupal/Sniffs/InfoFiles/AutoAddedKeysSniff.php \Drupal\Sniffs\InfoFiles\AutoAddedKeysSniff::register()
- 8.3.x coder_sniffer/Drupal/Sniffs/InfoFiles/AutoAddedKeysSniff.php \Drupal\Sniffs\InfoFiles\AutoAddedKeysSniff::register()
Returns an array of tokens this test wants to listen for.
Return value
array<int|string>
File
- coder_sniffer/
Drupal/ Sniffs/ InfoFiles/ AutoAddedKeysSniff.php, line 32
Class
- AutoAddedKeysSniff
- "version", "project" and "timestamp" are added automatically by drupal.org packaging scripts.
Namespace
Drupal\Sniffs\InfoFilesCode
public function register() {
return [
T_INLINE_HTML,
];
}