test26 |
tests/Drupal/Commenting/FunctionCommentUnitTest.inc |
Type declarations should not have any illegal characters. |
|
|
test27 |
tests/Drupal/bad/bad.php |
Debugging functions are discouraged. |
|
|
test27 |
tests/Drupal/Commenting/FunctionCommentUnitTest.inc |
Data types with spaces. |
|
|
test28 |
tests/Drupal/bad/bad.php |
Doc comment with a white space at the end. |
|
|
test28 |
tests/Drupal/Commenting/FunctionCommentUnitTest.inc |
Return docs should not contain variable names. |
|
|
test29 |
tests/Drupal/Commenting/FunctionCommentUnitTest.inc |
Not fixable return comment. |
|
|
test3 |
tests/Drupal/bad/bad.php |
Extra newline above is not allowed. |
|
|
test3 |
tests/Drupal/Commenting/FunctionCommentUnitTest.inc |
Description for the throws tag does not start with capital letter. |
|
|
test3 |
tests/DrupalPractice/CodeAnalysis/VariableAnalysisUnitTest.inc |
|
|
|
test3 |
tests/DrupalPractice/good/good.php |
Variables that are used by reference are allowed to not be read. |
|
|
test3 |
tests/Drupal/WhiteSpace/ScopeClosingBraceUnitTest.inc |
Closing brace not on line by itself. |
|
|
test3 |
tests/DrupalPractice/Objects/drupal8/example.module |
Global function is allowed since we run in the global namespace. |
|
|
test30 |
tests/Drupal/Commenting/FunctionCommentUnitTest.inc |
Indentation of param comment is wrong. |
|
|
test31 |
tests/Drupal/Commenting/FunctionCommentUnitTest.inc |
Comment of param is just one word, which means it is the data type. |
|
|
test31 |
tests/Drupal/Commenting/DocCommentAlignmentUnitTest.inc |
Short description. |
|
|
test32 |
tests/Drupal/Commenting/FunctionCommentUnitTest.inc |
There should be no dots. |
|
|
test33 |
tests/Drupal/Commenting/FunctionCommentUnitTest.inc |
There should be no dots and comments should be on the next line. |
|
|
test34 |
tests/Drupal/Commenting/FunctionCommentUnitTest.inc |
Yield should be a recognised return statement. |
|
|
test35 |
tests/Drupal/Commenting/FunctionCommentUnitTest.inc |
Using \stdClass as type hint is ok, but not in the documentation. |
|
|
test36 |
tests/Drupal/Commenting/FunctionCommentUnitTest.inc |
Allow "object" as real type hint (PHP 7.2). |
|
|
test37 |
tests/Drupal/Commenting/FunctionCommentUnitTest.inc |
Some short comment. |
|
|
test38 |
tests/Drupal/Commenting/FunctionCommentUnitTest.inc |
Yield from should be a recognised return statement. |
|
|
test4 |
tests/Drupal/bad/bad.php |
Extra newlines between function descriptions are not allowed. |
|
|
test4 |
tests/Drupal/Commenting/FunctionCommentUnitTest.inc |
Description for the throws tag does not end with a dot. |
|
|
test4 |
tests/DrupalPractice/CodeAnalysis/VariableAnalysisUnitTest.inc |
|
|
|
test4 |
tests/DrupalPractice/good/good.php |
Global variables that are used in ifs should not be flagged as unused. |
|
|
test4 |
tests/DrupalPractice/Objects/drupal8/example.module |
Using t() is allowed since we run in the global namespace. |
|
|
test5 |
tests/Drupal/bad/bad.php |
There must be a new line before tags. |
|
|
test5 |
tests/Drupal/Commenting/FunctionCommentUnitTest.inc |
Description for the throws tag must be on the next line. |
|
|
test5 |
tests/DrupalPractice/CodeAnalysis/VariableAnalysisUnitTest.inc |
|
|
|
test6 |
tests/Drupal/bad/bad.php |
Throws tag must have an Exception name. |
|
|
test6 |
tests/Drupal/Commenting/FunctionCommentUnitTest.inc |
Some description. |
|
|
test6 |
tests/DrupalPractice/CodeAnalysis/VariableAnalysisUnitTest.inc |
|
|
|
test7 |
tests/Drupal/bad/bad.php |
Return tag must not be empty. |
|
|
test7 |
tests/Drupal/Commenting/FunctionCommentUnitTest.inc |
|
|
|
test7 Deprecated |
tests/Drupal/Commenting/DocCommentUnitTest.inc |
Separate @param, @return, |
|
|
test8 |
tests/Drupal/bad/bad.php |
Param tags must come first. |
|
|
test8 |
tests/Drupal/Commenting/FunctionCommentUnitTest.inc |
Some comment. |
|
|
test8 |
tests/Drupal/Commenting/DocCommentUnitTest.inc |
No space before the short description. |
|
|
test9 |
tests/Drupal/bad/bad.php |
Last Param tag must be followed by a new line. |
|
|
test9 |
tests/Drupal/Commenting/FunctionCommentUnitTest.inc |
Default implementation of a menu item (without a page or form controller). |
|
|
test9 |
tests/Drupal/Commenting/DocCommentUnitTest.inc |
starting lower case and no dot at the end |
|
|
testmodule_install |
tests/DrupalPractice/FunctionCalls/DbQueryUnitTest.inc |
Implements hook_install(). |
|
|
test_form |
tests/Drupal/WhiteSpace/ScopeIndentUnitTest.inc |
A test function. |
|
|
test_form_node_form_alter |
tests/DrupalPractice/FunctionDefinitions/test.module |
Implements hook_form_alter(). |
|
|
test_init |
tests/DrupalPractice/FunctionDefinitions/test.module |
Implements hook_init(). |
|
|
test_menu |
tests/DrupalPractice/FunctionDefinitions/test.module |
Implements hook_menu(). |
|
|
test_page_build |
tests/DrupalPractice/FunctionDefinitions/test.module |
Implements hook_page_build(). |
|
|
test_requirements |
tests/DrupalPractice/FunctionDefinitions/test.install |
Implements hook_requirements(). |
|
|
w Deprecated |
tests/Drupal/Commenting/DeprecatedUnitTest.inc |
This contrib doc block will pass the 'Deprecated' standards checks. |
|
|