You are here

public function Drupal_Sniffs_CSS_ClassDefinitionNameSpacingSniff::register in Coder 7.2

Returns the token types that this sniff is interested in.

Return value

array(int)

File

coder_sniffer/Drupal/Sniffs/CSS/ClassDefinitionNameSpacingSniff.php, line 37

Class

Drupal_Sniffs_CSS_ClassDefinitionNameSpacingSniff
Ensure there are no blank lines between the names of classes/IDs. Copied from Squiz_Sniffs_CSS_ClassDefinitionNameSpacingSniff because of this bug: https://pear.php.net/bugs/bug.php?id=19256

Code

public function register() {
  return array(
    T_OPEN_CURLY_BRACKET,
  );
}