function test21 in Coder 8.3.x
Same name in this branch
Same name and namespace in other branches
- 8.3 tests/Drupal/Commenting/FunctionCommentUnitTest.inc \test21()
- 8.3 tests/Drupal/bad/bad.php \test21()
- 8.2 coder_sniffer/Drupal/Test/Commenting/FunctionCommentUnitTest.inc \test21()
- 8.2 coder_sniffer/Drupal/Test/bad/bad.php \test21()
- 8.2 coder_sniffer/Drupal/Test/good/good.php \test21()
- 7.2 coder_sniffer/Test/bad/bad.php \test21()
Some indentation errors.
File
- tests/
Drupal/ bad/ bad.php, line 692
Code
function test21() {
foo();
if (TRUE) {
bar();
}
// Too far left.
$x = 1 + 1;
}