You are here

class Test in Coder 8.3

Same name in this branch
  1. 8.3 tests/DrupalPractice/Objects/UnusedPrivateMethodUnitTest.inc \Test
  2. 8.3 tests/Drupal/Semantics/FunctionTUnitTest.inc \Test
  3. 8.3 tests/Drupal/Commenting/DocCommentUnitTest.inc \Test
  4. 8.3 tests/Drupal/Commenting/InlineCommentUnitTest.inc \Test
  5. 8.3 tests/Drupal/Commenting/HookCommentUnitTest.inc \Test
  6. 8.3 tests/Drupal/Commenting/DataTypeNamespaceUnitTest.inc \Foo\Bar\Test
  7. 8.3 tests/Drupal/Commenting/FunctionCommentUnitTest.inc \Test
  8. 8.3 tests/Drupal/Commenting/DocCommentAlignmentUnitTest.inc \Test
  9. 8.3 tests/Drupal/Classes/PropertyDeclarationUnitTest.inc \Test
  10. 8.3 tests/Drupal/NamingConventions/ValidFunctionNameUnitTest.inc \Test
Same name and namespace in other branches
  1. 8.2 coder_sniffer/DrupalPractice/Test/Objects/UnusedPrivateMethodUnitTest.inc \Test
  2. 8.2 coder_sniffer/Drupal/Test/Semantics/FunctionTUnitTest.inc \Test
  3. 8.2 coder_sniffer/Drupal/Test/Commenting/InlineCommentUnitTest.inc \Test
  4. 8.2 coder_sniffer/Drupal/Test/Commenting/VariableCommentUnitTest.inc \Test
  5. 8.2 coder_sniffer/Drupal/Test/Commenting/FunctionCommentUnitTest.inc \Test
  6. 8.2 coder_sniffer/Drupal/Test/Commenting/DocCommentAlignmentUnitTest.inc \Test
  7. 8.2 coder_sniffer/Drupal/Test/Classes/PropertyDeclarationUnitTest.inc \Test
  8. 8.2 coder_sniffer/Drupal/Test/NamingConventions/ValidFunctionNameUnitTest.inc \Test
  9. 8.3.x tests/DrupalPractice/Objects/UnusedPrivateMethodUnitTest.inc \Test
  10. 8.3.x tests/Drupal/Semantics/FunctionTUnitTest.inc \Test
  11. 8.3.x tests/Drupal/Commenting/DocCommentUnitTest.inc \Test
  12. 8.3.x tests/Drupal/Commenting/InlineCommentUnitTest.inc \Test
  13. 8.3.x tests/Drupal/Commenting/HookCommentUnitTest.inc \Test
  14. 8.3.x tests/Drupal/Commenting/FunctionCommentUnitTest.inc \Test
  15. 8.3.x tests/Drupal/Commenting/DocCommentAlignmentUnitTest.inc \Test
  16. 8.3.x tests/Drupal/Classes/PropertyDeclarationUnitTest.inc \Test
  17. 8.3.x tests/Drupal/NamingConventions/ValidFunctionNameUnitTest.inc \Test

Test methods.

Hierarchy

Expanded class hierarchy of Test

1 file declares its use of Test
UseGlobalClassUnitTest.inc in tests/Drupal/Classes/UseGlobalClassUnitTest.inc
Example.
12 string references to 'Test'
DefaultValueSanitizeUnitTest.inc in tests/DrupalPractice/FunctionCalls/DefaultValueSanitizeUnitTest.inc
drupal8.info.yml in tests/Drupal/Classes/drupal8/drupal8.info.yml
tests/Drupal/Classes/drupal8/drupal8.info.yml
drupal8.info.yml in tests/Drupal/good/drupal8/drupal8.info.yml
tests/Drupal/good/drupal8/drupal8.info.yml
ExampleClass::test4 in tests/DrupalPractice/Objects/drupal8/ExampleClass.php
t() should not be used, instead we should use the StringTranslationTrait.
ExampleClassWithDependencyInjection::test4 in tests/DrupalPractice/Objects/drupal8/ExampleClassWithDependencyInjection.php
t() should not be used, instead we should use the StringTranslationTrait.

... See full list

File

tests/Drupal/Commenting/FunctionCommentUnitTest.inc, line 85
Some function comment tests.

View source
class Test {
  public function undocumented() {
  }

  // This should be a doc comment.
  public function wrong() {
  }

}

Members