Closed (fixed)
Project:
Mollom
Version:
5.x-1.7
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
22 Mar 2009 at 19:29 UTC
Updated:
13 Aug 2009 at 23:50 UTC
Jump to comment: Most recent file
I'm starting to work on several patches for the queue here, and I'd like to take care of any coder warnings and trailing whitespace that my IDE always auto-fixes so I don't pick them up in every patch I create.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 410306-mollom-coder-D6.patch | 13.79 KB | dave reid |
| #1 | 410306-mollom-coder-D5.patch | 36.82 KB | dave reid |
Comments
Comment #1
dave reidPatches attached for 6.x and 5.x branches. No code functionality changes.
Comment #2
Freso commentedMostly looks good. Has a few glitches though:
The old one with "[space][space]=>" is actually valid (see "Function Calls" of the Coding standards). If Coder complains about this, a bug should be filed there.
There's also some more clean-up that could be done... I'll see about re-rolling.
Comment #3
dave reidIn the case on the patch, just having two lines should not warrant linking up the assignment operators and it looks silly. That's why I also didn't change any of the aligned assignment operators that had 4 or more lines.
Comment #4
dries commentedCommitted to DRUPAL-6.
The patch for D5 failed to apply, but that is probably OK -- I'm a lot less worried about the D5 version of the module. Only bother to re-roll the D5 patch when it is fast/easy. Thanks!
Comment #5
dave reidComment #6
dave reidFixed in CVS for Drupal 5.