ClassCreateInstanceSniff |
coder_sniffer/Drupal/Sniffs/Classes/ClassCreateInstanceSniff.php |
Class create instance Test. |
ClassCreateInstanceUnitTest |
coder_sniffer/Drupal/Test/Classes/ClassCreateInstanceUnitTest.php |
|
ClassDeclarationSniff |
coder_sniffer/Drupal/Sniffs/Classes/ClassDeclarationSniff.php |
Class Declaration Test. |
ClassDeclarationUnitTest |
coder_sniffer/Drupal/Test/Classes/ClassDeclarationUnitTest.php |
|
FullyQualifiedNamespaceSniff |
coder_sniffer/Drupal/Sniffs/Classes/FullyQualifiedNamespaceSniff.php |
Checks that class references do not use FQN but use statements. |
FullyQualifiedNamespaceUnitTest |
coder_sniffer/Drupal/Test/Classes/FullyQualifiedNamespaceUnitTest.php |
|
InterfaceNameSniff |
coder_sniffer/Drupal/Sniffs/Classes/InterfaceNameSniff.php |
Checks that interface names end with "Interface". |
PropertyDeclarationSniff |
coder_sniffer/Drupal/Sniffs/Classes/PropertyDeclarationSniff.php |
Laregely copied from
\PHP_CodeSniffer\Standards\PSR2\Sniffs\Classes\PropertyDeclarationSniff to have a fixer
for the var keyword. |
PropertyDeclarationUnitTest |
coder_sniffer/Drupal/Test/Classes/PropertyDeclarationUnitTest.php |
|
UnusedUseStatementSniff |
coder_sniffer/Drupal/Sniffs/Classes/UnusedUseStatementSniff.php |
Checks for "use" statements that are not needed in a file. |
UnusedUseStatementUnitTest |
coder_sniffer/Drupal/Test/Classes/UnusedUseStatementUnitTest.php |
|
UseLeadingBackslashSniff |
coder_sniffer/Drupal/Sniffs/Classes/UseLeadingBackslashSniff.php |
Use statements to import classes must not begin with "\". |
UseLeadingBackslashUnitTest |
coder_sniffer/Drupal/Test/Classes/UseLeadingBackslashUnitTest.php |
|