You are here

function test21 in Coder 8.3

Same name in this branch
  1. 8.3 tests/Drupal/Commenting/FunctionCommentUnitTest.inc \test21()
  2. 8.3 tests/Drupal/bad/bad.php \test21()
Same name and namespace in other branches
  1. 8.2 coder_sniffer/Drupal/Test/Commenting/FunctionCommentUnitTest.inc \test21()
  2. 8.2 coder_sniffer/Drupal/Test/bad/bad.php \test21()
  3. 8.2 coder_sniffer/Drupal/Test/good/good.php \test21()
  4. 7.2 coder_sniffer/Test/bad/bad.php \test21()
  5. 8.3.x tests/Drupal/Commenting/FunctionCommentUnitTest.inc \test21()
  6. 8.3.x tests/Drupal/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;
}