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.
Problem/Motivation
Our coding standards specify that switch statements should have blank lines between groups of cases. UpdateModuleHandler
doesn't, and is hard to read.
Proposed resolution
Add blank lines after each return
within the switch.
Comment | File | Size | Author |
---|---|---|---|
update-module-handler-whitespace.patch | 1.35 KB | xjm | |
Comments
Comment #1
xjmComment #2
xjmAlso, good patch for a novice to review. Apply the patch locally and confirm that the switch statement now matches documented coding standards. :)
Comment #3
StephaneQLooks good to me :)
Comment #4
webchickCommitted and pushed to 8.x. Thanks!