[wp-trac] [WordPress Trac] #45956: Upgrade WPCS to 1.2.1
WordPress Trac
noreply at wordpress.org
Sat Jan 12 06:27:51 UTC 2019
#45956: Upgrade WPCS to 1.2.1
------------------------------+----------------------
Reporter: pento | Owner: pento
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 5.1
Component: General | Version:
Severity: normal | Keywords:
Focuses: coding-standards |
------------------------------+----------------------
By upgrading WPCS to 1.2.1:
- `Generic.PHP.NoSilencedErrors.Discouraged` is replaced by
`WordPress.PHP.NoSilencedErrors.Discouraged`, which whitelists 123
instances of errors being appropriately silenced.
- Autofix 191 violations of `Generic.WhiteSpace.ScopeIndent`.
- Fix 6 false positives in
`WordPress.WhiteSpace.PrecisionAlignment.Found`.
By upgrading PHPCS to 3.4.1:
- Fix 23 false positives in `Squiz.PHP.DisallowMultipleAssignments.Found`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45956>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list