Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#9 | nodequeue_codereview-2748919-9.diff | 85.36 KB | wingmanjd |
#4 | nodequeue_codereview-38678-1.patch | 52.39 KB | harish b |
#3 | Code review smartqueue.png | 544.68 KB | harish b |
#3 | Code review nodequeue_generate .png | 535.24 KB | harish b |
#3 | Code review nodequeue .png | 1.9 MB | harish b |
Comments
Comment #2
harish b CreditAttribution: harish b at Srijan | A Material+ Company for Srijan | A Material+ Company commentedComment #3
harish b CreditAttribution: harish b at Srijan | A Material+ Company for Srijan | A Material+ Company commentedComment #4
harish b CreditAttribution: harish b at Srijan | A Material+ Company for Srijan | A Material+ Company commentedHere is the Revised patch(comment#1), which remove bugs, warnings and statements followed according to drupal standards.
Please review it.
Comment #6
Manjit.Singh@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. :)
Comment #7
fizk CreditAttribution: fizk commentedThanks 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.
Comment #8
wingmanjd CreditAttribution: wingmanjd commentedI'd be happy to help on this. Would it be better to submit one large patch for everything, or smaller patches?
Comment #9
wingmanjd CreditAttribution: wingmanjd as a volunteer commentedHere's some work so far.
Comment #10
zkhan.aamir CreditAttribution: zkhan.aamir at Specbee for Drupal India Association commented