public function Drupal_Sniffs_WhiteSpace_ScopeIndentSniff::register in Coder 7.2
Returns an array of tokens this test wants to listen for.
Return value
array
File
- coder_sniffer/
Drupal/ Sniffs/ WhiteSpace/ ScopeIndentSniff.php, line 57
Class
- Drupal_Sniffs_WhiteSpace_ScopeIndentSniff
- Largely copied from Generic_Sniffs_Whitespace_ScopeIndentSniff, modified to make the exact mode working with comments and multi line statements.
Code
public function register() {
return PHP_CodeSniffer_Tokens::$scopeOpeners;
}