Skip to content

Files

Latest commit

 

History

History
17 lines (11 loc) · 808 Bytes

WordPress.Arrays.MultipleStatementAlignment.md

File metadata and controls

17 lines (11 loc) · 808 Bytes

Pattern: Malformed multiple statement alignment

Issue: -

Description

Enforces alignment of the double arrow assignment operator for multi-item, multi-line arrays.

  • Align the double arrow operator to the same column for each item in a multi-item array.
  • Allows for setting a maxColumn property to aid in managing line-length.
  • Allows for new line(s) before a double arrow (configurable).
  • Allows for handling multi-line array items differently if so desired (configurable).

Further Reading