DbSelectBracesUnitTest |
class |
DrupalPractice\Test\FunctionCalls |
tests/DrupalPractice/FunctionCalls/DbSelectBracesUnitTest.php |
Unit test class for the DbSelectBraces sniff. |
|
|
|
DeclareT |
class |
|
tests/DrupalPractice/Objects/drupal8/DeclareT.php |
|
|
|
|
DefaultValueSanitizeSniff |
class |
DrupalPractice\Sniffs\FunctionCalls |
coder_sniffer/DrupalPractice/Sniffs/FunctionCalls/DefaultValueSanitizeSniff.php |
Check that sanitization functions such as check_plain() are not used on Form
API #default_value elements. |
|
|
|
DefaultValueSanitizeUnitTest |
class |
DrupalPractice\Test\FunctionCalls |
tests/DrupalPractice/FunctionCalls/DefaultValueSanitizeUnitTest.php |
Unit test class for the DefaultValueSanitize sniff. |
|
|
|
DeprecatedSniff |
class |
Drupal\Sniffs\Commenting |
coder_sniffer/Drupal/Sniffs/Commenting/DeprecatedSniff.php |
Ensures standard format of @ deprecated tag text in docblock. |
|
|
|
DeprecatedUnitTest |
class |
Drupal\Test\Commenting |
tests/Drupal/Commenting/DeprecatedUnitTest.php |
|
|
|
|
DescriptionTSniff |
class |
DrupalPractice\Sniffs\General |
coder_sniffer/DrupalPractice/Sniffs/General/DescriptionTSniff.php |
Checks that string values for #description in render arrays are translated. |
|
|
|
DisallowLongArraySyntaxSniff |
class |
Drupal\Sniffs\Arrays |
coder_sniffer/Drupal/Sniffs/Arrays/DisallowLongArraySyntaxSniff.php |
Bans the use of the PHP long array syntax in Drupal 8. |
|
|
|
DisallowLongArraySyntaxUnitTest |
class |
Drupal\Test\Arrays |
tests/Drupal/Arrays/DisallowLongArraySyntaxUnitTest.php |
|
|
|
|
DiscouragedFunctionsSniff |
class |
Drupal\Sniffs\Functions |
coder_sniffer/Drupal/Sniffs/Functions/DiscouragedFunctionsSniff.php |
Discourage the use of debug functions. |
|
|
|
DocCommentAlignmentSniff |
class |
Drupal\Sniffs\Commenting |
coder_sniffer/Drupal/Sniffs/Commenting/DocCommentAlignmentSniff.php |
Largely copied from
\PHP_CodeSniffer\Standards\Squiz\Sniffs\Commenting\DocCommentAlignmentSniff to also
handle the "var" keyword. See
https://github.com/squizlabs/PHP_CodeSniffer/pull/1212 |
|
|
|
DocCommentAlignmentUnitTest |
class |
Drupal\Test\Commenting |
tests/Drupal/Commenting/DocCommentAlignmentUnitTest.php |
|
|
|
|
DocCommentSniff |
class |
Drupal\Sniffs\Commenting |
coder_sniffer/Drupal/Sniffs/Commenting/DocCommentSniff.php |
Ensures doc blocks follow basic formatting. |
|
|
|
DocCommentStarSniff |
class |
Drupal\Sniffs\Commenting |
coder_sniffer/Drupal/Sniffs/Commenting/DocCommentStarSniff.php |
Checks that a doc comment block has a doc comment star on every line. |
|
|
|
DocCommentStarUnitTest |
class |
Drupal\Test\Commenting |
tests/Drupal/Commenting/DocCommentStarUnitTest.php |
|
|
|
|
DocCommentUnitTest |
class |
Drupal\Test\Commenting |
tests/Drupal/Commenting/DocCommentUnitTest.php |
|
|
|
|
Drupal8SubContext |
class |
|
tests/Drupal/Classes/drupal8/drupal8.behat.inc |
Step definitions for testing the functionality of the Drupal8 module. |
|
|
|
DuplicateEntrySniff |
class |
Drupal\Sniffs\InfoFiles |
coder_sniffer/Drupal/Sniffs/InfoFiles/DuplicateEntrySniff.php |
Make sure that entries in info files are specified only once. |
|
|
|
DuplicateEntryUnitTest |
class |
Drupal\Test\InfoFiles |
tests/Drupal/InfoFiles/DuplicateEntryUnitTest.php |
Unit test class for the DuplicateEntry sniff. |
|
|
|
ElseIfSniff |
class |
Drupal\Sniffs\ControlStructures |
coder_sniffer/Drupal/Sniffs/ControlStructures/ElseIfSniff.php |
Checks that "elseif" is used instead of "else if". |
|
|
|
ElseIfUnitTest |
class |
Drupal\Test\ControlStructures |
tests/Drupal/ControlStructures/ElseIfUnitTest.php |
|
|
|
|
EmptyInstallSniff |
class |
Drupal\Sniffs\Semantics |
coder_sniffer/Drupal/Sniffs/Semantics/EmptyInstallSniff.php |
Throws an error if hook_install() or hook_uninstall() definitions are empty. |
|
|
|
EmptyLinesSniff |
class |
Drupal\Sniffs\WhiteSpace |
coder_sniffer/Drupal/Sniffs/WhiteSpace/EmptyLinesSniff.php |
\Drupal\Sniffs\WhiteSpace\EmptyLinesSniff. |
|
|
|
EndFileNewlineSniff |
class |
Drupal\Sniffs\Files |
coder_sniffer/Drupal/Sniffs/Files/EndFileNewlineSniff.php |
Ensures the file ends with a newline character. |
|
|
|
EndFileNewlineUnitTest |
class |
Drupal\Test\Files |
tests/Drupal/Files/EndFileNewlineUnitTest.php |
|
|
|
|
Example |
class |
|
tests/Drupal/Classes/UseGlobalClassUnitTest.inc |
Example. |
|
|
|
Example |
class |
|
tests/Drupal/Classes/FullyQualifiedNamespaceUnitTest.inc |
Example. |
|
|
|
Example |
trait |
|
tests/Drupal/InfoFiles/drupal7/trait.php |
|
|
|
|
ExampleClass |
class |
Drupal\testmodule |
tests/DrupalPractice/Objects/drupal8/ExampleClass.php |
A class which is not a service. |
|
|
|
ExampleClassWithDependencyInjection |
class |
Drupal\testmodule |
tests/DrupalPractice/Objects/drupal8/ExampleClassWithDependencyInjection.php |
A class which is not a service but has access to the container. |
|
|
|
ExampleMigration |
class |
|
tests/DrupalPractice/Objects/drupal7/ExampleMigration.php |
A class from Drupal 7 that should not throw errors. |
|
|
|
ExampleService |
class |
Drupal\testmodule |
tests/DrupalPractice/Objects/drupal8/ExampleService.php |
Some service. |
|
|
2 |
ExampleTest |
class |
|
tests/DrupalPractice/Commenting/ExpectedExceptionUnitTest.inc |
|
|
|
|
ExceptionExample |
class |
|
tests/DrupalPractice/General/ExceptionTUnitTest.inc |
|
|
|
|
ExceptionTSniff |
class |
DrupalPractice\Sniffs\General |
coder_sniffer/DrupalPractice/Sniffs/General/ExceptionTSniff.php |
Checks that exceptions aren't translated. |
|
|
|
ExceptionTUnitTest |
class |
DrupalPractice\Test\General |
tests/DrupalPractice/General/ExceptionTUnitTest.php |
|
|
|
|
ExpectedExceptionSniff |
class |
DrupalPractice\Sniffs\Commenting |
coder_sniffer/DrupalPractice/Sniffs/Commenting/ExpectedExceptionSniff.php |
Checks that the PHPunit @expectedExcpetion tags are not used. |
|
|
|
ExpectedExceptionUnitTest |
class |
DrupalPractice\Test\Commenting |
tests/DrupalPractice/Commenting/ExpectedExceptionUnitTest.php |
|
|
|
|
FileCommentSniff |
class |
Drupal\Sniffs\Commenting |
coder_sniffer/Drupal/Sniffs/Commenting/FileCommentSniff.php |
Parses and verifies the doc comments for files. |
|
|
|
FileCommentUnitTest |
class |
Drupal\Test\Commenting |
tests/Drupal/Commenting/FileCommentUnitTest.php |
|
|
|
|
FileEncodingSniff |
class |
Drupal\Sniffs\Files |
coder_sniffer/Drupal/Sniffs/Files/FileEncodingSniff.php |
\Drupal\Sniffs\Files\FileEncodingSniff. |
|
|
|
FileEncodingUnitTest |
class |
Drupal\Test\Files |
tests/Drupal/Files/FileEncodingUnitTest.php |
|
|
|
|
foo Deprecated |
class |
MyNamespace\triggerErrorTest |
tests/Drupal/Semantics/FunctionTriggerErrorUnitTest.3.inc |
Test function one. |
|
|
|
Foo |
class |
|
tests/Drupal/Commenting/FileCommentUnitTest.11.inc |
@file |
|
|
|
FooBar |
class |
|
tests/Drupal/bad/bad.php |
|
|
|
|
FooBar2 |
class |
|
tests/Drupal/bad/bad.php |
|
|
|
|
FormAlterDocSniff |
class |
DrupalPractice\Sniffs\FunctionDefinitions |
coder_sniffer/DrupalPractice/Sniffs/FunctionDefinitions/FormAlterDocSniff.php |
Checks that the comment "Implements hook_form_alter()." actually matches the
function signature. |
|
|
|
FormAlterDocUnitTest |
class |
DrupalPractice\Test\FunctionDefinitions |
tests/DrupalPractice/FunctionDefinitions/FormAlterDocUnitTest.php |
|
|
|
|
FormErrorTSniff |
class |
DrupalPractice\Sniffs\FunctionCalls |
coder_sniffer/DrupalPractice/Sniffs/FunctionCalls/FormErrorTSniff.php |
Verifiies that messages passed to form_set_error() run through t(). |
|
|
|
FormStateInputSniff |
class |
DrupalPractice\Sniffs\General |
coder_sniffer/DrupalPractice/Sniffs/General/FormStateInputSniff.php |
Throws a message whenever $form_state['input'] is used. $form_state['values']
is preferred. |
|
|
|