Needs work
Project:
Workflow-ng
Version:
5.x-2.x-dev
Component:
Wng API
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
9 Jul 2008 at 08:39 UTC
Updated:
29 Jul 2008 at 10:50 UTC
Jump to comment: Most recent file
Coder module is showing lots of errors. Maybe before next release we can split the files between us (us as all the members that want to participate) and fix all the coding style issues.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | workflow_ng_20080714_coder.patch | 11.42 KB | intchanter |
| #7 | workflow_ng.module_style_1.patch | 41.42 KB | amitaibu |
| #4 | workflow_ng_20080710_coder.patch | 36.68 KB | intchanter |
Comments
Comment #1
fagothat sounds great. Doesn't the code module produce ready to use diffs?
Comment #2
amitaibuNo diffs, although many mistakes can probably be fixed with some regex replace.
Comment #3
intchanter commentedI should be able to handle this and provide a patch later today unless there are any objections.
Comment #4
intchanter commentedHere's the patch for the DRUPAL-5--2 branch.
Comment #5
fagothanks committed!
Should we go ahead with the extension modules?
Comment #6
amitaibu@intchanter,
good job - are you using a script for this - can you share it?
@fago,
There are still style issues in the comments (e.g. adding a dot in the end, syntax of @param, etc'). I'll give it a stab.
Comment #7
amitaibuFixing comments in workflow_ng.module - is there a way to use a script for this? Its pretty annoying doing it manually :P.
Comment #8
intchanter commentedI did it manually, but it wasn't too bad with vim, hence the speed of the original patch. Coder claimed it passed everything with minor warnings enabled here. What settings are you using to see issues in some of the comments so I can watch for that in the future?
One thing that did help speed it up was using vim's regex replace syntax and the fact that it keeps :command history, so stripping all the trailing whitespace was <load a file>:<up><up><enter><up><up><enter> for each file.
Comment #9
intchanter commentedHere's an updated patch against current DRUPAL-5--2 that takes care of the rest of the modules (I think). It covers cclinks, states, _log, and _ui. No additional issues found with minor warnings enabled.
Comment #10
amitaibu#7 is still CNR as well.
Comment #11
fagothanks. I've committed #7.
@#9: I wasn't able to apply it. Please be sure to create patches in uniform diff format.