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.
The attached patch fixes most of the issues reported by the Coder module (except a couple of FAPI issues, which are false positives as far as I can tell).
Comment | File | Size | Author |
---|---|---|---|
#2 | interdiff-2143711-0-2.txt | 1.67 KB | Sutharsan |
#2 | radioactivity-adhere-to-coding-standards-2143711-2.patch | 15.53 KB | Sutharsan |
radioactivity-adhere-to-coding-standards.patch | 14.79 KB | wulff | |
Comments
Comment #1
wulff CreditAttribution: wulff commentedO.k., that was a little too heavy-handed ;-) Disregard the
drupal_ucfirst()
bit inemit.php
.Comment #2
Sutharsan CreditAttribution: Sutharsan commentedComment #3
Sutharsan CreditAttribution: Sutharsan commentedThe module uses a mix of single and double quotes. Coning standards say: "Where possible, keep consistency within each module, and respect the personal style of other developers." I'd like to have feedback of the maintainer before bringing consistency into it (and using single over double quotes where possible.)