namespace DrupalPractice\Sniffs\FunctionCalls
Object name | File name | Summary |
---|---|---|
CheckPlainSniff | vendor/drupal/coder/coder_sniffer/DrupalPractice/Sniffs/FunctionCalls/CheckPlainSniff.php | Check that check_plain() is not used on literal strings. |
CurlSslVerifierSniff | vendor/drupal/coder/coder_sniffer/DrupalPractice/Sniffs/FunctionCalls/CurlSslVerifierSniff.php | Make sure that CURLOPT_SSL_VERIFYPEER is not disabled, since that is a security issue. |
DbQuerySniff | vendor/drupal/coder/coder_sniffer/DrupalPractice/Sniffs/FunctionCalls/DbQuerySniff.php | Check that UPDATE/DELETE queries are not used in db_query() in Drupal 7. |
DbSelectBracesSniff | vendor/drupal/coder/coder_sniffer/DrupalPractice/Sniffs/FunctionCalls/DbSelectBracesSniff.php | Check that db_select() calls do not use {} braces for the table name. |
DefaultValueSanitizeSniff | vendor/drupal/coder/coder_sniffer/DrupalPractice/Sniffs/FunctionCalls/DefaultValueSanitizeSniff.php | Check that sanitization functions such as check_plain() are not used on Form API #default_value elements. |
FormErrorTSniff | vendor/drupal/coder/coder_sniffer/DrupalPractice/Sniffs/FunctionCalls/FormErrorTSniff.php | Verifies that messages passed to form_set_error() run through t(). |
InsecureUnserializeSniff | vendor/drupal/coder/coder_sniffer/DrupalPractice/Sniffs/FunctionCalls/InsecureUnserializeSniff.php | Check that unserialize() limits classes that may be unserialized. |
LCheckPlainSniff | vendor/drupal/coder/coder_sniffer/DrupalPractice/Sniffs/FunctionCalls/LCheckPlainSniff.php | The first argument of the l() function should not be check_plain()'ed. |
MessageTSniff | vendor/drupal/coder/coder_sniffer/DrupalPractice/Sniffs/FunctionCalls/MessageTSniff.php | Verifies that messages passed to drupal_set_message() run through t(). |
TCheckPlainSniff | vendor/drupal/coder/coder_sniffer/DrupalPractice/Sniffs/FunctionCalls/TCheckPlainSniff.php | Check that "@" and "%" placeholders in t()/watchdog() are not escaped twice with check_plain(). |
ThemeSniff | vendor/drupal/coder/coder_sniffer/DrupalPractice/Sniffs/FunctionCalls/ThemeSniff.php | \DrupalPractice\Sniffs\FunctionCalls\Checks that theme functions are not directly called. |
VariableSetSanitizeSniff | vendor/drupal/coder/coder_sniffer/DrupalPractice/Sniffs/FunctionCalls/VariableSetSanitizeSniff.php | Check that variable_set() calls do not run check_plain() or other sanitization functions on the value. |