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.

CommentFileSizeAuthor
update-module-handler-whitespace.patch1.35 KBxjm
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

xjm’s picture

xjm’s picture

Issue tags: +Novice

Also, good patch for a novice to review. Apply the patch locally and confirm that the switch statement now matches documented coding standards. :)

StephaneQ’s picture

Status: Needs review » Reviewed & tested by the community

Looks good to me :)

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.