Hi,

Downloaded Module, Works great. There is issue with following with code standards. Please follow https://www.drupal.org/coding-standards

Reviewed module with Coder module. Found warnings, statements in some of the files in nodequeue module.

Comments

harish b created an issue. See original summary.

harish b’s picture

StatusFileSize
new52.39 KB
harish b’s picture

harish b’s picture

Issue summary: View changes
StatusFileSize
new52.39 KB

Here is the Revised patch(comment#1), which remove bugs, warnings and statements followed according to drupal standards.

Please review it.

Status: Needs review » Needs work

The last submitted patch, 4: nodequeue_codereview-38678-1.patch, failed testing.

manjit.singh’s picture

Status: Needs work » Reviewed & tested by the community
Issue tags: +Coding standards

@harish I have reviewed the patch and looks good. All changes are related to coding standard.
And regarding the automated test fails on php 5.3, I think we can ignore that because latest version is supported until 5.4 or higher , so no need to take a worry about PHP5.3. Please check this for more information. https://www.drupal.org/requirements
moving it to RTBC.
Thanks @harish for the contribution and too long patch. :)

fizk’s picture

Status: Reviewed & tested by the community » Needs work

Thanks for beginning the clean up effort. We still have a long way to go:

phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme . | grep ERROR | wc -l

shows there are 762 errors.

phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme . | grep ERROR | wc -l

shows there are 102 warnings.

wingmanjd’s picture

I'd be happy to help on this. Would it be better to submit one large patch for everything, or smaller patches?

wingmanjd’s picture

StatusFileSize
new85.36 KB

Here's some work so far.

zkhan.aamir’s picture

Assigned: harish b » Unassigned
avpaderno’s picture

Status: Needs work » Closed (outdated)
Issue tags: -code cleanup

I am closing this issue, which was created for a project version compatible with a Drupal release no longer supported. Feel free to re-open the issue, if it is still relevant for a project version compatible with a supported Drupal release.