You are here

function test11 in Coder 8.2

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

Documented params do not match.

Parameters

bool $foobar: Wrong name.

bool $Y: Wrong case.

$z: Missing type.

int:

string $a Comment should be on a new line.:

string $non_existent: Parameter does not exist.

Return value

bool This description should be on the next line.

See also

Too much space here

my_function().

foo_bar() and here some not allowed text.

File

coder_sniffer/Drupal/Test/bad/bad.php, line 605

Code

function test11($x, $y, $z, $a, $b) {
}