You are here

function test1 in Coder 7.2

Same name in this branch
  1. 7.2 coder_sniffer/Test/bad/bad.php \test1()
  2. 7.2 coder_sniffer/Test/good/good.php \test1()
Same name and namespace in other branches
  1. 8.3 tests/DrupalPractice/good/good.php \test1()
  2. 8.3 tests/Drupal/Commenting/DocCommentStarUnitTest.inc \test1()
  3. 8.3 tests/Drupal/Commenting/FunctionCommentUnitTest.inc \test1()
  4. 8.3 tests/Drupal/bad/bad.php \test1()
  5. 8.2 coder_sniffer/DrupalPractice/Test/good/good.php \test1()
  6. 8.2 coder_sniffer/Drupal/Test/Commenting/DocCommentStarUnitTest.inc \test1()
  7. 8.2 coder_sniffer/Drupal/Test/Commenting/FunctionCommentUnitTest.inc \test1()
  8. 8.2 coder_sniffer/Drupal/Test/bad/bad.php \test1()
  9. 8.2 coder_sniffer/Drupal/Test/good/good.php \test1()
  10. 8.3.x tests/DrupalPractice/good/good.php \test1()
  11. 8.3.x tests/Drupal/Commenting/DocCommentStarUnitTest.inc \test1()
  12. 8.3.x tests/Drupal/Commenting/FunctionCommentUnitTest.inc \test1()
  13. 8.3.x tests/Drupal/bad/bad.php \test1()

Doc block with some code tags.

Some description and here comes the code:

$options = drupal_parse_url($_GET['destination']);
$my_url = url($options['path'], $options);
$my_link = l('Example link', $options['path'], $options);

Some more description here. And now the parameters.

Parameters

int $x: Parameter comment here.

File

coder_sniffer/Test/good/good.php, line 475
This file contains all the valid notations for the drupal coding standard.

Code

function test1($x) {
}