Some of the style issues I've noticed in going over the code:
- indentation (too much in content_retriever_admin_types_form for example)
- spacing around string concatenation: the . operator takes a space either side
- coddled elses: an else comes on a new line, and it doesn't indent any further than the if.
- missing spaces after function arguments
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 662624.content_distribution.cleanup-3-coddled-else-more.patch | 8.35 KB | joachim |
| #2 | 662624.content_distribution.cleanup-2-coddled-else.patch | 10.95 KB | joachim |
| #1 | 662624.content_distribution.cleanup-1-if-spaces.patch | 26.13 KB | joachim |
Comments
Comment #1
joachim commentedResult of
Looks sane; committing.
More to do, so keeping this issue active.
Comment #2
joachim commentedpatch 2: coddled elses, elseif not else if, and some indentation in nearby areas.
Also looks sane; committing :D
Comment #3
joachim commentedEither I missed some or I didn't apply that patch correctly.
Anyway: more coddled elses. Committed this patch.