3.0.0
Props: @GaryJones, @jrfnl
This release requires WordPressCS 3.0.0. It is not compatible with WordPressCS 2.x. Users should read the WordPressCS 3.0 upgrade guide for end-users.
Increases requirements for PHPCS from 3.7.1 to 3.7.2.
The tagged releases branch is now main
instead of master
.
Added
Changed
- #780: Performance/WPQueryParams: defer to the parent sniff.
- Two error codes changed:
WordPressVIPMinimum.Performance.WPQueryParams.PostNotIn
is nowWordPressVIPMinimum.Performance.WPQueryParams.PostNotIn_post__not_in
.WordPressVIPMinimum.Performance.WPQueryParams.SuppressFiltersTrue
is nowWordPressVIPMinimum.Performance.WPQueryParams.SuppressFilters_suppress_filters
.
- Two error codes changed:
Removed
- #774: Performance/BatcacheWhitelistedParams: remove the sniff.
- #775: Compatibility/Zoninator: remove the sniff.
- #776: Variables/VariableAnalysis: remove the sniff.
Fixed
- #784: Performance/WPQueryParams: prevent false positives for
'exclude'
withget_users()
. - #788: Security/Mustache: prevent false positives on block editor templates.
Maintenance
- #778: CS: improve use statements.
- #781: Performance/NoPaging: add extra tests.
- #782: GH Actions: minor tweaks to the composer options used.
- #783: Hooks/AlwaysReturnInFilter: remove redundant condition.
- #785: Docs: remove redundant
@package
tags. - #786: Add PHPStan to QA checks.
- #787: GH Actions: tweak the way the PHPCS/WPCS versions are set.
- #789: Updates related to branch rename from
master
tomain
. - #790: PHPUnit: Use 7.5 schema.
- #791: Docs: Update
CONTRIBUTING.md
.