You are here

namespace DrupalPractice\Sniffs\General in Coder 8.2

Same name in other branches
  1. 8.3 DrupalPractice\Sniffs\General
  2. 8.3.x DrupalPractice\Sniffs\General
Classsort descending Location Description
AccessAdminPagesSniff coder_sniffer/DrupalPractice/Sniffs/General/AccessAdminPagesSniff.php Throws a warning if the "access administration pages" string is found in hook_menu().
ClassNameSniff coder_sniffer/DrupalPractice/Sniffs/General/ClassNameSniff.php Checks that classes without namespaces are properly prefixed with the module name.
DescriptionTSniff coder_sniffer/DrupalPractice/Sniffs/General/DescriptionTSniff.php Checks that string values for #description in render arrays are translated.
FormStateInputSniff coder_sniffer/DrupalPractice/Sniffs/General/FormStateInputSniff.php Throws a message whenever $form_state['input'] is used. $form_state['values'] is preferred.
LanguageNoneSniff coder_sniffer/DrupalPractice/Sniffs/General/LanguageNoneSniff.php Checks that ['und'] is not used, should be LANGUAGE_NONE.
OptionsTSniff coder_sniffer/DrupalPractice/Sniffs/General/OptionsTSniff.php Checks that values in #otions form arrays are translated.
OptionsTUnitTest coder_sniffer/DrupalPractice/Test/General/OptionsTUnitTest.php Unit test class for the OptionsT sniff.
VariableNameSniff coder_sniffer/DrupalPractice/Sniffs/General/VariableNameSniff.php Checks the usage of variable_get() in forms and the variable name.
VariableNameUnitTest coder_sniffer/DrupalPractice/Test/General/VariableNameUnitTest.php Unit test class for the VariableName sniff.