function test7 in Coder 8.3
Same name in this branch
Same name and namespace in other branches
- 8.2 coder_sniffer/Drupal/Test/Commenting/FunctionCommentUnitTest.inc \test7()
- 8.2 coder_sniffer/Drupal/Test/bad/bad.php \test7()
- 8.2 coder_sniffer/Drupal/Test/good/good.php \test7()
- 7.2 coder_sniffer/Test/bad/bad.php \test7()
- 8.3.x tests/Drupal/Commenting/DocCommentUnitTest.inc \test7()
- 8.3.x tests/Drupal/Commenting/FunctionCommentUnitTest.inc \test7()
- 8.3.x tests/Drupal/bad/bad.php \test7()
Separate @param, @return,
Parameters
string $param: Something incredibly useful.
Return value
bool Returns FALSE.
Throws
sections by a blank line.
Exception Thrown when $param is TRUE.
Deprecated
@todo Fix coding standards.
See also
File
- tests/
Drupal/ Commenting/ DocCommentUnitTest.inc, line 21
Code
function test7($param) {
if ($param) {
throw new Exception();
}
return FALSE;
}