[wp-trac] [WordPress Trac] #43776: CS: minor adjustment to the PHPCS ruleset
WordPress Trac
noreply at wordpress.org
Sun Apr 15 11:27:14 UTC 2018
#43776: CS: minor adjustment to the PHPCS ruleset
------------------------------+-----------------------------
Reporter: jrf | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version: trunk
Severity: normal | Keywords: has-patch
Focuses: coding-standards |
------------------------------+-----------------------------
The reference to the `WordPress.Variables.GlobalVariables` sniff needs to
be removed from the ruleset.
This sniff is not included in the `WordPress-Core` ruleset as Core writing
to Core global variables is fine (of course).
Passing the custom properties which are needed by themes and plugins,
activates the sniff needlessly.
Related: #43764 - see
https://core.trac.wordpress.org/ticket/43764#comment:1
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43776>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list