public function ColourDefinitionSniff::register in Coder 8.3
Same name and namespace in other branches
- 8.2 coder_sniffer/Drupal/Sniffs/CSS/ColourDefinitionSniff.php \Drupal\Sniffs\CSS\ColourDefinitionSniff::register()
- 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
Namespace
Drupal\Sniffs\CSSCode
public function register() {
return [
T_COLOUR,
];
}