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.
Module has some code styling issues - mostly missing doc blocks. Should be fixed to bring the code up to current Drupal coding standards.
Comment | File | Size | Author |
---|---|---|---|
#5 | code_standards_cleanup-2745041-5.patch | 18.77 KB | sanduhrs |
#2 | code_standards_cleanup-2745041-2.patch | 15.91 KB | aburke626 |
Comments
Comment #2
aburke626Patch to bring code up to current Drupal standards - mostly adding missing doc blocks.
Comment #3
aburke626Comment #4
sanduhrsHi Alanna, thanks for cleaning this up.
What tool are you using to verify the coding standards?
I'm using PHP_CodeSniffer [1] with the sniffs defined in coder module [2] latest version (8.x-2.7).
[1] https://github.com/squizlabs/PHP_CodeSniffer
[2] https://www.drupal.org/project/coder
After applying your patch I still see a lot of violations of the current standard:
Comment #5
sanduhrsUpdated patch attached.
Comment #7
sanduhrsCommitted, thanks!