You are here

public function ColourDefinitionSniff::register in Coder 8.3

Same name and namespace in other branches
  1. 8.2 coder_sniffer/Drupal/Sniffs/CSS/ColourDefinitionSniff.php \Drupal\Sniffs\CSS\ColourDefinitionSniff::register()
  2. 8.3.x coder_sniffer/Drupal/Sniffs/CSS/ColourDefinitionSniff.php \Drupal\Sniffs\CSS\ColourDefinitionSniff::register()

Returns the token types that this sniff is interested in.

Return value

array<int|string>

File

coder_sniffer/Drupal/Sniffs/CSS/ColourDefinitionSniff.php, line 40

Class

ColourDefinitionSniff
\Drupal\Sniffs\CSS\ColourDefinitionSniff.

Namespace

Drupal\Sniffs\CSS

Code

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