You are here

function test27 in Coder 8.3.x

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

Data types with spaces.

Parameters

string or int $x: Data types should not contain spaces.

Return value

int or bool Same spaces in data type here.

File

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

Code

function test27($x) {
  return 0;
}