You are here

function test18 in Coder 8.3.x

Same name in this branch
  1. 8.3.x tests/Drupal/Commenting/FunctionCommentUnitTest.inc \test18()
  2. 8.3.x tests/Drupal/bad/bad.php \test18()
Same name and namespace in other branches
  1. 8.3 tests/Drupal/Commenting/FunctionCommentUnitTest.inc \test18()
  2. 8.3 tests/Drupal/bad/bad.php \test18()
  3. 8.2 coder_sniffer/Drupal/Test/Commenting/FunctionCommentUnitTest.inc \test18()
  4. 8.2 coder_sniffer/Drupal/Test/bad/bad.php \test18()
  5. 8.2 coder_sniffer/Drupal/Test/good/good.php \test18()
  6. 7.2 coder_sniffer/Test/bad/bad.php \test18()

Return comment indentation should be three spaces.

Return value

string This is not indented correctly.

File

tests/Drupal/Commenting/FunctionCommentUnitTest.inc, line 207
Some function comment tests.

Code

function test18() {
  return '1';
}