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.
Update the module to match the current Drupal coding standards, including:
- Short array syntax.
- Remove @file docblock comments.
- Whitespace.
- Other things that coder review identifies.
Comment | File | Size | Author |
---|---|---|---|
#3 | backup_migrate-n2930752-3.patch | 220.38 KB | DamienMcKenna |
| |||
#3 | backup_migrate-n2930752-3.interdiff.txt | 184.45 KB | DamienMcKenna |
#2 | short_array_syntax-2930752-2.patch | 63.73 KB | Venkatesh Rajan.J |
|
Comments
Comment #2
Venkatesh Rajan.J CreditAttribution: Venkatesh Rajan.J as a volunteer and at DrupalPartners commentedAttached Patch
Comment #3
DamienMcKennaThere isn't a lot more to do, so lets expand this to cover other coding standards bugs, e.g. @file docblock on namespaced class files, spacing issues, etc. phpcbf can be used to fix these.
Comment #4
DamienMcKennaLets compare the results of the patch in #3 against the branch test: https://www.drupal.org/pift-ci-job/834726
Comment #5
DamienMcKennaThere are still 1565 coding standards messages to look at.
Incidentally, the branch test has gotten stuck and isn't able to finish. Doh.
Comment #6
Alex Andrascu CreditAttribution: Alex Andrascu commentedThis looks fairly good to me as a starting point. Why don't we get it in ?
Comment #8
DamienMcKennaComment #9
DamienMcKennaCommitted. We'll do a follow-on task to further improve the codebase.
Comment #10
Alex Andrascu CreditAttribution: Alex Andrascu commentedThank you !
Comment #11
DamienMcKennaFollow-on issue: #2935402: Further improve coding standards compliance (D8)
Comment #12
DamienMcKenna