#43776 closed defect (bug) (fixed)
CS: minor adjustment to the PHPCS ruleset
| Reported by: | jrf | Owned by: | johnbillion |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.1 |
| Component: | Build/Test Tools | Version: | 5.1 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: | coding-standards |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
👍