You are here

public function ColourDefinitionSniff::register in Coder 8.2

Same name and namespace in other branches
  1. 8.3 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)

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 array(
    T_COLOUR,
  );
}