function test in Coder 8.3.x
Same name in this branch
- 8.3.x tests/DrupalPractice/CodeAnalysis/VariableAnalysisUnitTest.inc \test()
- 8.3.x tests/Drupal/Classes/UseLeadingBackslashUnitTest.inc \test()
- 8.3.x tests/DrupalPractice/Objects/drupal8/example.module \test()
- 8.3.x tests/Drupal/Arrays/disallow_long_array_d8/DisallowLongArraySyntaxUnitTest.2.inc \test()
- 8.3.x tests/Drupal/Arrays/disallow_long_array_d7/DisallowLongArraySyntaxUnitTest.1.inc \test()
Same name and namespace in other branches
- 8.3 tests/DrupalPractice/CodeAnalysis/VariableAnalysisUnitTest.inc \test()
- 8.3 tests/Drupal/Classes/UseLeadingBackslashUnitTest.inc \test()
- 8.3 tests/DrupalPractice/Objects/drupal8/example.module \test()
- 8.3 tests/Drupal/Arrays/disallow_long_array_d8/DisallowLongArraySyntaxUnitTest.2.inc \test()
- 8.3 tests/Drupal/Arrays/disallow_long_array_d7/DisallowLongArraySyntaxUnitTest.1.inc \test()
- 8.2 coder_sniffer/DrupalPractice/Test/CodeAnalysis/VariableAnalysisUnitTest.inc \test()
- 8.2 coder_sniffer/Drupal/Test/Classes/UseLeadingBackslashUnitTest.inc \test()
- 8.2 coder_sniffer/Drupal/Test/Arrays/disallow_long_array_d8/DisallowLongArraySyntaxUnitTest.2.inc \test()
- 8.2 coder_sniffer/Drupal/Test/Arrays/disallow_long_array_d7/DisallowLongArraySyntaxUnitTest.1.inc \test()
Declaring a long array.
2 calls to test()
- example_custom_block_view in tests/
Drupal/ Commenting/ InlineCommentUnitTest.inc - Test function.
- PostStatementCommentUnitTest.1.inc in tests/
Drupal/ Commenting/ PostStatementCommentUnitTest.1.inc
10 string references to 'test'
- bad.php in tests/
Drupal/ bad/ bad.php - constant_test.install in tests/
Drupal/ Semantics/ constant_test.install - constant_test.module in tests/
Drupal/ Semantics/ constant_test.module - DefaultValueSanitizeUnitTest.inc in tests/
DrupalPractice/ FunctionCalls/ DefaultValueSanitizeUnitTest.inc - Example::test4 in tests/
Drupal/ Classes/ UseGlobalClassUnitTest.inc - Description.
File
- tests/
Drupal/ Arrays/ disallow_long_array_d7/ DisallowLongArraySyntaxUnitTest.1.inc, line 11 - Long array syntax is allowed in Drupal 7 code.
Code
function test() {
return array();
}