Closed (duplicate)
Project:
Token
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2008 at 09:56 UTC
Updated:
19 Jun 2008 at 20:38 UTC
Jump to comment: Most recent file
I was reading the API.txt docs and the API docs in the code to understand token module better, and decided to submit a code style cleanup patch for token module. I found lots of comment code style problems, which I fix in this patch as well as one concatenation code style patch (given that this is Drupal 6 code).
- phpdoc should start with one line summaries
- @param should use $variable_name with dollar
- indentation issues
- some smaller stuff
Patch made out of the SVN repo I am using.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | token-coder_warnings.patch | 5.16 KB | mustafau |
| token-code-cleanup.patch | 10.79 KB | gábor hojtsy |
Comments
Comment #1
gábor hojtsySince this has lots of changes, and IMHO moves to a quite positive direction, it would be great to move this on. Any reviews?
Comment #2
mustafau commentedLooks great however it does not apply anymore.
Attached patch eliminates coder.module warnings for Token. I will merge my patch with yours after you update it to apply to latest -6--1 branch.
Comment #3
gregglesWell, technically this is newer than #241288: Coding Standards and they both have patches so I'm marking this a duplicate...your help there would be appreciated. I would also like to get this fixed and will make it the priority patch for token (i.e. nothing else gets fixed until this one).