function test21 in Coder 7.2
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()
- 8.3.x tests/Drupal/Commenting/FunctionCommentUnitTest.inc \test21()
- 8.3.x tests/Drupal/bad/bad.php \test21()
Some indentation errors.
File
- coder_sniffer/
Test/ bad/ bad.php, line 692
Code
function test21() {
foo();
if (TRUE) {
bar();
}
// Too far left.
$x = 1 + 1;
}