function coder_dot in Coder 5
Same name and namespace in other branches
- 5.2 tests/coder_style.inc \coder_dot()
File
- tests/
coder_style.inc, line 63 - This include file implements tests for the Drupal Standards
Code
function coder_dot() {
if ($file = file_check_upload($fieldname . '_upload')) {
// not ok
}
$v .= 'bugger';
// ok
$a = $v . 'bugger';
// ok
$a = $v . "bugger";
// ok, but will throw performance warning
$a = $v . 'bugger';
// not ok
$a = $some_func() . 'bugger';
// not ok
}