WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #46869, comment 2


Ignore:
Timestamp:
04/10/2019 01:52:41 AM (7 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #46869, comment 2

    initial v1  
    55Another is to perhaps replace `WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned` with `Generic.Formatting.MultipleStatementAlignment` as the latter allows setting of maximum spaces to insert. That will help to keep aligned associative arrays easier to read and match https://make.wordpress.org/core/handbook/best-practices/coding-standards/php/#indentation better (we'll need to add a setting for it though).
    66
    7 Alternatively we can set the priority to lower than 5. That would make the rule(s) "optional", i.e. they will still be available but won't prevent building or trigger errors in Travis.
     7Alternatively we can set the priority to lower than 5. That would make the rule(s) "optional", i.e. they will still be available from the cli but won't prevent building or trigger errors in Travis.
    88
    99I'll make a patch so we can test and/or have a better look :)