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. |
CloseBracketSpacingUnitTest |
coder_sniffer/Drupal/Test/WhiteSpace/CloseBracketSpacingUnitTest.php |
|
CommaSniff |
coder_sniffer/Drupal/Sniffs/WhiteSpace/CommaSniff.php |
\Drupal\Sniffs\WhiteSpace\CommaSniff. |
CommaUnitTest |
coder_sniffer/Drupal/Test/WhiteSpace/CommaUnitTest.php |
|
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. |
NamespaceUnitTest |
coder_sniffer/Drupal/Test/WhiteSpace/NamespaceUnitTest.php |
|
ObjectOperatorIndentSniff |
coder_sniffer/Drupal/Sniffs/WhiteSpace/ObjectOperatorIndentSniff.php |
\Drupal\Sniffs\WhiteSpace\ObjectOperatorIndentSniff. |
ObjectOperatorIndentUnitTest |
coder_sniffer/Drupal/Test/WhiteSpace/ObjectOperatorIndentUnitTest.php |
|
ObjectOperatorSpacingSniff |
coder_sniffer/Drupal/Sniffs/WhiteSpace/ObjectOperatorSpacingSniff.php |
Ensure that there are no white spaces before and after the object operator. |
ObjectOperatorSpacingUnitTest |
coder_sniffer/Drupal/Test/WhiteSpace/ObjectOperatorSpacingUnitTest.php |
|
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. |
OpenBracketSpacingUnitTest |
coder_sniffer/Drupal/Test/WhiteSpace/OpenBracketSpacingUnitTest.php |
|
OpenTagNewlineSniff |
coder_sniffer/Drupal/Sniffs/WhiteSpace/OpenTagNewlineSniff.php |
Checks that there is exactly one newline after the PHP open tag. |
OpenTagNewlineUnitTest |
coder_sniffer/Drupal/Test/WhiteSpace/OpenTagNewlineUnitTest.php |
|
OperatorSpacingSniff |
coder_sniffer/Drupal/Sniffs/WhiteSpace/OperatorSpacingSniff.php |
Overrides Squiz_Sniffs_WhiteSpace_OperatorSpacingSniff to allow the plus operator
on numbers like "$i = +1;". |
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. |
ScopeIndentUnitTest |
coder_sniffer/Drupal/Test/WhiteSpace/ScopeIndentUnitTest.php |
|