#43776 closed defect (bug) (fixed)
CS: minor adjustment to the PHPCS ruleset
Reported by: | jrf | Owned by: | johnbillion |
---|---|---|---|
Milestone: | 5.1 | Priority: | normal |
Severity: | normal | Version: | 5.1 |
Component: | Build/Test Tools | Keywords: | has-patch commit |
Focuses: | coding-standards | Cc: |
Description
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
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
👍