Changes:
- Add blank line after last @param in function block.
- Add comma after last multiline array item.
- Correct @param type "boolean" to "bool".
- Remove parentheses from include_once statement.
- Wrap or shorten excessively long comment lines.
These are fixes I think people would be unlikely to disagree with as a matter of style. The patch does not fix all Drupal coding standards issues identified by Coder Review. (Though I wouldn't mind developing a further patch that fixes them all.) Most of the remaining Coder Review warnings were for not ending comments with full stops (e.g., periods).
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | browscap-coding_standards_fixes-2290475-1.patch | 3.83 KB | aohrvetpv |
| browscap-coding_standards_fixes.patch | 3.56 KB | aohrvetpv |
Comments
Comment #1
aohrvetpv commentedChanges from previous patch:
Comment #4
gregglesI fixed all the issues with end of line and an array longer than 80 chars issue. All good now - thanks!