Closed (fixed)
Project:
Table Wizard
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
5 Mar 2009 at 20:47 UTC
Updated:
17 May 2009 at 19:00 UTC
Jump to comment: Most recent file
Properly comment Table Wizard; run coder and cleanup formatting.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 392302_code_cleanup.patch | 25.47 KB | alex_b |
Comments
Comment #1
alex_b commentedHere you go...
* Cleans up coder module notices.
* Removes _ prefix from form callbacks (not usual in Drupal, Form API does not expect these and generates funny -id-my-form CSS ids from it). -> clear cache after applying patch!
* Clean up comments: remove IDE comment template cruft ('unknown', 'Enter description here', ...) and comment where this cleanup leaves functions without comments (very few).
One comment I'm not sure about is
I'm bumping this to normal as it would be great to commit a cleanup soon. Some patches will be affected in a minor way, so the sooner we get this out of the way, the better.
Comment #2
alex_b commentedComment #3
webchickComment #4
mikeryanMost changes applied, I needed to manually apply the tw_import_delimited stuff. However, the string concats are funky - no spaces between the . and either single or double quotes, I'll fix those up and commit...
Comment #5
mikeryanOK, I see coder complaining about "string concatenation should be formatted without a space separating the operators (dot .) and a quote". But, the coding standards clearly say there should be spaces on both sides (which certainly looks cleaner and more consistent to me). What's up with that?
Ahhh, this is up with that: #246568: Coding standards of string concatenation have changed... I'm going with a space on each side.
Comment #6
mikeryanCommitted - I still want to go through and make sure I've got enough comments and they're accurate.
Comment #7
mikeryanGood enough for now, I think...