You are here

public function AutoAddedKeysSniff::register in Coder 8.3.x

Same name and namespace in other branches
  1. 8.3 coder_sniffer/Drupal/Sniffs/InfoFiles/AutoAddedKeysSniff.php \Drupal\Sniffs\InfoFiles\AutoAddedKeysSniff::register()
  2. 8.2 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\InfoFiles

Code

public function register() {
  return [
    T_INLINE_HTML,
  ];
}