bad_install |
coder_sniffer/Drupal/Test/bad/bad.install |
Empty hook_install() is not allowed. |
|
|
bad_install |
coder_sniffer/Drupal/Test/bad/bad.module |
Implements hook_install(). |
|
|
bad_menu |
coder_sniffer/Drupal/Test/bad/bad.module |
Implements hook_menu(). |
|
|
bad_requirements |
coder_sniffer/Drupal/Test/bad/bad.module |
Implements hook_install(). |
|
|
bad_schema |
coder_sniffer/Drupal/Test/bad/bad.install |
Implements hook_schema(). |
|
|
bad_schema |
coder_sniffer/Drupal/Test/bad/bad.module |
Implements hook_install(). |
|
|
bad_uninstall |
coder_sniffer/Drupal/Test/bad/bad.install |
Empty hook_uninstall() is not allowed. |
|
|
bad_uninstall |
coder_sniffer/Drupal/Test/bad/bad.module |
Implements hook_uninstall(). |
|
|
chained_method_calls |
coder_sniffer/Drupal/Test/WhiteSpace/ObjectOperatorIndentUnitTest.inc |
Function containing test code for chained method calls. |
|
|
drush_mymodule_foo_bar |
coder_sniffer/Drupal/Test/good/good.php |
Implements drush_hook_foo_bar(). |
|
|
example_custom_block_view |
coder_sniffer/Drupal/Test/Commenting/InlineCommentUnitTest.inc |
Test function. |
|
|
example_field_formatter_view |
coder_sniffer/Drupal/Test/WhiteSpace/ScopeIndentUnitTest.inc |
Implements hook_field_formatter_view(). |
|
|
example_form_submit_redirect_handler |
coder_sniffer/Drupal/Test/Formatting/MultipleStatementAlignmentUnitTest.inc |
Example function. |
|
|
example_install |
coder_sniffer/Drupal/Test/Commenting/FunctionCommentUnitTest.1.inc |
Implements hook_install() |
|
|
foo |
coder_sniffer/Drupal/Test/WhiteSpace/CommaUnitTest.inc |
|
6 |
6 |
foo |
coder_sniffer/Drupal/Test/bad/bad.php |
Short description |
6 |
6 |
foo |
coder_sniffer/Drupal/Test/good/good.php |
Allowed switch() statement in a function without breaks. |
6 |
6 |
foo |
coder_sniffer/Drupal/Test/Commenting/FunctionCommentUnitTest.inc |
Test. |
6 |
6 |
foo |
coder_sniffer/Drupal/Test/Files/LineLengthUnitTest.inc |
|
6 |
6 |
foo2 |
coder_sniffer/Drupal/Test/WhiteSpace/CommaUnitTest.inc |
|
|
|
foo_bar |
coder_sniffer/Drupal/Test/Commenting/FileCommentUnitTest.10.inc |
@file |
|
|
foo_bar |
coder_sniffer/Drupal/Test/good/good.php |
Short description. |
|
|
good_schema |
coder_sniffer/Drupal/Test/good/good.install |
Implements hook_schema(). |
|
|
hook_ENTITY_TYPE_load |
coder_sniffer/Drupal/Test/good/good.api.php |
Act on entities of a specific type when loaded. |
|
|
hook_foobar |
coder_sniffer/Drupal/Test/good/good.php |
This is not an implementation of hook_foobar(). |
|
|
hook_locale_translation_projects_alter |
coder_sniffer/Drupal/Test/good/good.api.php |
Alter the list of projects to be updated by locale's interface translation. |
|
|
is_table_empty |
coder_sniffer/Drupal/Test/good/good.php |
Object operator indentation is fine like this. |
|
|
module_handler_test_all2_hook |
coder_sniffer/Drupal/Test/Commenting/FunctionCommentUnitTest.2.inc |
@file
Test module. |
|
|
myModuleCamelCaps |
coder_sniffer/Drupal/Test/NamingConventions/ValidFunctionNameUnitTest.inc |
|
|
|
mymodule_boing |
coder_sniffer/Drupal/Test/bad/bad.php |
Implements of hook_boing(). |
|
|
mymodule_foo |
coder_sniffer/Drupal/Test/good/good.php |
Implements hook_foo(). |
|
|
mymodule_foo_bar_block |
coder_sniffer/Drupal/Test/good/good.php |
Implements hook_foo_bar() for blocks. |
|
|
mymodule_foo_bar_phptemplate |
coder_sniffer/Drupal/Test/good/good.php |
Implements hook_foo_bar() for foo_bar.tpl.php. |
|
|
mymodule_foo_bar_twig |
coder_sniffer/Drupal/Test/good/good.php |
Implements hook_foo_bar() for foo-bar.html.twig. |
|
|
mymodule_foo_some_type_bar |
coder_sniffer/Drupal/Test/bad/bad.php |
Implementation hook_foo_BAR_ID_bar() for some_type_bar(). |
|
|
mymodule_foo_some_type_bar |
coder_sniffer/Drupal/Test/good/good.php |
Implements hook_foo_BAR_ID_bar() for some_type_bar(). |
|
|
mymodule_form_callback |
coder_sniffer/Drupal/Test/good/good.php |
Not documenting all parameters is allowed. |
|
|
mymodule_menu |
coder_sniffer/Drupal/Test/bad/bad.php |
Implementation of hook_menu(). |
|
|
mymodule_test2_info |
coder_sniffer/Drupal/Test/bad/bad.php |
Implements hook_test2_info(). |
|
|
mymodule_test_info |
coder_sniffer/Drupal/Test/bad/bad.php |
Implements hook_test_info(). |
|
|
mymodule_very_long_module_name_neverending_hook_name_that_is_a_long_cat_alter |
coder_sniffer/Drupal/Test/good/good.php |
Implements hook_very_long_module_name_neverending_hook_name_that_is_a_long_cat_alter(). |
|
|
My_module_camel_caps |
coder_sniffer/Drupal/Test/NamingConventions/ValidFunctionNameUnitTest.inc |
|
|
|
some_function |
coder_sniffer/DrupalPractice/Test/Commenting/AuthorTagUnitTest.inc |
Test comment. |
3 |
|
test |
coder_sniffer/DrupalPractice/Test/CodeAnalysis/VariableAnalysisUnitTest.inc |
|
2 |
9 |
test |
coder_sniffer/Drupal/Test/Classes/UseLeadingBackslashUnitTest.inc |
Just an example making use the class. |
2 |
9 |
test |
coder_sniffer/Drupal/Test/Arrays/disallow_long_array_d8/DisallowLongArraySyntaxUnitTest.2.inc |
Declaring a long array. |
2 |
9 |
test |
coder_sniffer/Drupal/Test/Arrays/disallow_long_array_d7/DisallowLongArraySyntaxUnitTest.1.inc |
Declaring a long array. |
2 |
9 |
test1 |
coder_sniffer/Drupal/Test/bad/bad.php |
|
|
|
test1 |
coder_sniffer/Drupal/Test/Commenting/DocCommentStarUnitTest.inc |
Star missing here. |
|
|
test1 |
coder_sniffer/Drupal/Test/Commenting/FunctionCommentUnitTest.inc |
Missing exception description in the throws tag, which is OK. |
|
|