Closed (fixed)
Project:
Examples for Developers
Version:
8.x-1.x-dev
Component:
DBTNG Example
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
31 Jan 2016 at 15:32 UTC
Updated:
28 Feb 2016 at 19:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jlbellidoComment #3
fafniricalComment #4
jlbellidoHi!
Here is a patch solving most of the warnings and errors returned from Code Sniffer. Although, there are still a couple of errors:
But I'm not sure about them.
Cheers!
Comment #5
mile23DBTNG is no longer new. It was new with Drupal 7. :-)
Drupal coding standards exclude @package
Comment #6
jlbellidoUps! I didn't see that ;P
Here is a new patch with your suggestions.
Thanks!
Comment #7
jlbellidoComment #9
mile23Removing 'new' is really outside the scope of this issue, but it'll fly this time.
There are still a few problems, but they deal with @code and are basically false positives from coder.
There are also problems with fully-capitalized acronym names like DBTNG. I think we can fix that along with some directory hierarchy problems (forms and controllers should be in their own directories, for instance). That can be a follow-up issue.
Committing and marked as fixed. Thanks!
Comment #10
mile23Followup: #2668656: DBTNG Example has incorrect directory structure, acronym names