Case Generate Alternative Rules

case_generate_alternative_100

phase_2 error whitespace

This rule checks for a single space after the when keyword.

Refer to Configuring Whitespace Rules for options on changing the number of whitespaces..

Violation

case data generate

  when   3 =>

Fix

case data generate

  when 3 =>

case_generate_alternative_101

phase_2 error whitespace

This rule checks for a single space before the => operator.

Refer to Configuring Whitespace Rules for options on changing the number of whitespaces..

Violation

case data generate

  when 3   =>

Fix

case data generate

  when 3 =>

case_generate_alternative_300

The function of this rule has been superseded with comment indent updates and is handled by rule comment_010.

case_generate_alternative_500

phase_6 error case case_keyword

This rule checks the when keyword has proper case.

Refer to Configuring Uppercase and Lowercase Rules for more information.

Violation

WHEN choices =>

Fix

when choices =>

case_generate_alternative_501

This rule has been deprecated and replaced with rule choice_500.