CloseBracketSpacingSniff |
coder_sniffer/Drupal/Sniffs/WhiteSpace/CloseBracketSpacingSniff.php |
Checks that there is no white space before a closing bracket, for ")" and "}".
Square Brackets are handled by
\PHP_CodeSniffer\Standards\Squiz\Sniffs\Arrays\ArrayBracketSpacingSniff. |
CommaSniff |
coder_sniffer/Drupal/Sniffs/WhiteSpace/CommaSniff.php |
\Drupal\Sniffs\WhiteSpace\CommaSniff. |
EmptyLinesSniff |
coder_sniffer/Drupal/Sniffs/WhiteSpace/EmptyLinesSniff.php |
\Drupal\Sniffs\WhiteSpace\EmptyLinesSniff. |
NamespaceSniff |
coder_sniffer/Drupal/Sniffs/WhiteSpace/NamespaceSniff.php |
Checks that there is exactly one space after the namespace keyword. |
ObjectOperatorIndentSniff |
coder_sniffer/Drupal/Sniffs/WhiteSpace/ObjectOperatorIndentSniff.php |
\Drupal\Sniffs\WhiteSpace\ObjectOperatorIndentSniff. |
ObjectOperatorSpacingSniff |
coder_sniffer/Drupal/Sniffs/WhiteSpace/ObjectOperatorSpacingSniff.php |
Ensure that there are no white spaces before and after the object operator. |
OpenBracketSpacingSniff |
coder_sniffer/Drupal/Sniffs/WhiteSpace/OpenBracketSpacingSniff.php |
Checks that there is no white space after an opening bracket, for "(" and "{".
Square Brackets are handled by
\PHP_CodeSniffer\Standards\Squiz\Sniffs\Arrays\ArrayBracketSpacingSniff. |
OpenTagNewlineSniff |
coder_sniffer/Drupal/Sniffs/WhiteSpace/OpenTagNewlineSniff.php |
Checks that there is exactly one newline after the PHP open tag. |
ScopeClosingBraceSniff |
coder_sniffer/Drupal/Sniffs/WhiteSpace/ScopeClosingBraceSniff.php |
Copied from \PHP_CodeSniffer\Standards\PEAR\Sniffs\WhiteSpace\ScopeClosingBraceSniff to allow empty methods
and classes. |
ScopeIndentSniff |
coder_sniffer/Drupal/Sniffs/WhiteSpace/ScopeIndentSniff.php |
Largely copied from
\PHP_CodeSniffer\Standards\Generic\Sniffs\WhiteSpace\ScopeIndentSniff,
modified to make the exact mode working with comments and multi line
statements. |