[wp-trac] [WordPress Trac] #43041: Rename the capital_P_dangit function
WordPress Trac
noreply at wordpress.org
Mon Jan 8 14:51:27 UTC 2018
#43041: Rename the capital_P_dangit function
-------------------------+-------------------------------
Reporter: danieltj | Owner: pento
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.0
Component: General | Version:
Severity: normal | Resolution: fixed
Keywords: | Focuses: coding-standards
-------------------------+-------------------------------
Comment (by jrf):
@pento `phpcs:disable/set` annotations are not file-specific, so always
need to be followed by a `phpcs:enable/set` command to reset to the
original ruleset.
With `phpcs:set`, this would be a `set` annotation resetting the value to
the default or the value as set by the WPCS ruleset.
I've attached a patch to fix this for the new unit test file.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43041#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list