Closed (fixed)
Project:
Services
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
15 Jan 2011 at 11:31 UTC
Updated:
26 Feb 2011 at 19:21 UTC
Jump to comment: Most recent file
There's currently a lot of code in the dev version that doesn't comply with the Drupal coding standards. That's bad for many reasons and eg. makes patching harder.
Running the module through Coder and similar to make sure there's whitespace where there should be and no whitespace where it shouldn't be would be a great start - going through the module manually would be great as well.
Let's gather patches here.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | 1027890-6.x-coding-standards.patch | 67.3 KB | ygerasimov |
| #6 | 1027890-coding-standards-review-2.patch | 67.71 KB | ygerasimov |
| #5 | 1027890-coding-standards-review.patch | 66.89 KB | ygerasimov |
| #1 | 1027890-coding-standards.patch | 66.48 KB | ygerasimov |
Comments
Comment #1
ygerasimov commentedPlease find attached patch with a log of fixes. I haven't touched libraries (spyc.php, mimeparse.php, becode.php).
Comment #2
kylebrowning commentedThis either needs to happen RIGHT now, or before we launch, otherwise this patch will never apply cleanly since were constantly updating code
Comment #3
gddI think I would rather reroll the little patches as we encounter them rather than reroll this one at the end, so I'm reviewing this one now. Need to get my CVS environments killed and rebuilt with git.
Comment #4
gddI still haven't applied and tested this, but here are some nitpicks I found from visual inspection.
Needs a space after 'Implements' in both places
Seems like these are indented too far
Otherwise this looks fanatastic. I want to apply it and run tests but otherwise I am really appreciative of this patch. Thank you!
Powered by Dreditor.
Comment #5
ygerasimov commentedThank you for the review. Here is changed patch.
Comment #6
ygerasimov commentedHere is reroll of the patch against current master.
Comment #7
kylebrowning commentedCommited to 7.x needs 6.x patch
Comment #8
ygerasimov commentedHere is patch for 6.x-3.x.
Comment #9
ygerasimov commentedComment #10
kylebrowning commentedThis has been committed, thanks!