[wp-trac] [WordPress Trac] #46869: Fix PHPCS configuration
WordPress Trac
noreply at wordpress.org
Tue May 28 15:45:00 UTC 2019
#46869: Fix PHPCS configuration
------------------------------+-------------------------------
Reporter: azaozz | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: needs-testing | Focuses: coding-standards
------------------------------+-------------------------------
Comment (by johnbillion):
Overriding the values of core's own coding standards in core seems like
something is going very wrong.
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.
This sounds like it should be moved to [https://github.com/WordPress-
Coding-Standards/WordPress-Coding-Standards the WPCS repo] to be fixed
there.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46869#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list