GlobalClassSniff |
coder_sniffer/DrupalPractice/Sniffs/Objects/GlobalClassSniff.php |
Checks that Node::load() calls and friends are not used in forms, controllers or
services. |
GlobalDrupalSniff |
coder_sniffer/DrupalPractice/Sniffs/Objects/GlobalDrupalSniff.php |
Checks that \Drupal::service() and friends is not used in forms, controllers, services. |
GlobalFunctionSniff |
coder_sniffer/DrupalPractice/Sniffs/Objects/GlobalFunctionSniff.php |
Checks that global functions like t() are not used in forms or controllers. |
StrictSchemaDisabledSniff |
coder_sniffer/DrupalPractice/Sniffs/Objects/StrictSchemaDisabledSniff.php |
Checks that $strictConfigSchema is not set to FALSE in test classes. |
UnusedPrivateMethodSniff |
coder_sniffer/DrupalPractice/Sniffs/Objects/UnusedPrivateMethodSniff.php |
Checks that private methods are actually used in a class. |