class foo in Coder 8.3
Same name in this branch
- 8.3 tests/Drupal/Semantics/FunctionTriggerErrorUnitTest.3.inc \MyNamespace\triggerErrorTest\foo
- 8.3 tests/Drupal/Commenting/FileCommentUnitTest.11.inc \Foo
Same name and namespace in other branches
- 8.3.x tests/Drupal/Semantics/FunctionTriggerErrorUnitTest.3.inc \MyNamespace\triggerErrorTest\foo
Test function one.
Hierarchy
- class \MyNamespace\triggerErrorTest\foo
Expanded class hierarchy of foo
Deprecated
in drupal:8.5.0 and is removed from drupal:9.0.0. Use class bar instead.
See also
https://www.drupal.org/node/123
5 string references to 'foo'
- bad.php in tests/
Drupal/ bad/ bad.php - CheckPlainUnitTest.inc in tests/
DrupalPractice/ FunctionCalls/ CheckPlainUnitTest.inc - FunctionWatchdogUnitTest.inc in tests/
Drupal/ Semantics/ FunctionWatchdogUnitTest.inc - test1 in tests/
DrupalPractice/ good/ good.php - Ignoring the array value in a foreach loop is OK.
- test3 in tests/
DrupalPractice/ good/ good.php - Variables that are used by reference are allowed to not be read.
File
- tests/
Drupal/ Semantics/ FunctionTriggerErrorUnitTest.3.inc, line 23 - Example code for strict deprecated FunctionTriggerError sniff test.
Namespace
MyNamespace\triggerErrorTestView source
class foo {
}