Make WordPress Core

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


Ignore:
Timestamp:
05/28/2019 06:01:17 PM (6 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #46869, comment 8

    v1 v2  
    1212}}}
    1313
    14 This is done by setting the `Generic.Formatting.MultipleStatementAlignment` PHPCS rule to match the above. But running into some difficulties trying to match that when aligning associative arrays (aligning of arrays doesn't seem to exist in any other coding standard).
     14This is done by setting the `Generic.Formatting.MultipleStatementAlignment` PHPCS rule to match the above. But running into some difficulties trying to match that when aligning associative arrays (aligning of arrays doesn't seem to exist in any other coding standard rules/settings).
    1515
    1616> It's fine that core excludes certain checks in certain files (there's a bunch of those in phpcs.xml.dist currently), but it's not fine that core would globally override the configuration of a rule.