You are here

function test in Coder 8.2

Same name in this branch
  1. 8.2 coder_sniffer/DrupalPractice/Test/CodeAnalysis/VariableAnalysisUnitTest.inc \test()
  2. 8.2 coder_sniffer/Drupal/Test/Classes/UseLeadingBackslashUnitTest.inc \test()
  3. 8.2 coder_sniffer/Drupal/Test/Arrays/disallow_long_array_d8/DisallowLongArraySyntaxUnitTest.2.inc \test()
  4. 8.2 coder_sniffer/Drupal/Test/Arrays/disallow_long_array_d7/DisallowLongArraySyntaxUnitTest.1.inc \test()
Same name and namespace in other branches
  1. 8.3 tests/DrupalPractice/CodeAnalysis/VariableAnalysisUnitTest.inc \test()
  2. 8.3 tests/Drupal/Classes/UseLeadingBackslashUnitTest.inc \test()
  3. 8.3 tests/DrupalPractice/Objects/drupal8/example.module \test()
  4. 8.3 tests/Drupal/Arrays/disallow_long_array_d8/DisallowLongArraySyntaxUnitTest.2.inc \test()
  5. 8.3 tests/Drupal/Arrays/disallow_long_array_d7/DisallowLongArraySyntaxUnitTest.1.inc \test()
  6. 8.3.x tests/DrupalPractice/CodeAnalysis/VariableAnalysisUnitTest.inc \test()
  7. 8.3.x tests/Drupal/Classes/UseLeadingBackslashUnitTest.inc \test()
  8. 8.3.x tests/DrupalPractice/Objects/drupal8/example.module \test()
  9. 8.3.x tests/Drupal/Arrays/disallow_long_array_d8/DisallowLongArraySyntaxUnitTest.2.inc \test()
  10. 8.3.x tests/Drupal/Arrays/disallow_long_array_d7/DisallowLongArraySyntaxUnitTest.1.inc \test()

Just an example making use the class.

2 calls to test()
example_custom_block_view in coder_sniffer/Drupal/Test/Commenting/InlineCommentUnitTest.inc
Test function.
PostStatementCommentUnitTest.1.inc in coder_sniffer/Drupal/Test/Commenting/PostStatementCommentUnitTest.1.inc
9 string references to 'test'
bad.php in coder_sniffer/Drupal/Test/bad/bad.php
constant_test.install in coder_sniffer/Drupal/Test/Semantics/constant_test.install
constant_test.module in coder_sniffer/Drupal/Test/Semantics/constant_test.module
DefaultValueSanitizeUnitTest.inc in coder_sniffer/DrupalPractice/Test/FunctionCalls/DefaultValueSanitizeUnitTest.inc
FunctionWatchdogUnitTest.inc in coder_sniffer/Drupal/Test/Semantics/FunctionWatchdogUnitTest.inc

... See full list

File

coder_sniffer/Drupal/Test/Classes/UseLeadingBackslashUnitTest.inc, line 13
Testing use statements.

Code

function test(Bang $x) {
}