chore(deps): update dependency wp-coding-standards/wpcs to v3.1.0 #293
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.0.1
->3.1.0
Release Notes
WordPress/WordPress-Coding-Standards (wp-coding-standards/wpcs)
v3.1.0
Compare Source
Added
Universal.PHP.LowercasePHPTag
sniff.Generic.CodeAnalysis.RequireExplicitBooleanOperatorPrecedence
and theUniversal.CodeAnalysis.NoDoubleNegative
sniffs.sanitize_locale_name()
function to the list of known "escaping" functions. Props [@Chouby]sanitize_locale_name()
function to the list of known "sanitize & unslash" functions. Props [@Chouby]Changed
PHP_CodeSniffer
version to 3.9.0 (was 3.7.2).PHPCSUtils
version to 1.0.10 (was 1.0.8).PHPCSExtra
version to 1.2.1 (was 1.1.0).Please ensure you run
composer update wp-coding-standards/wpcs --with-dependencies
to benefit from these updates.use
keyword for closureuse
statements will now consistently be checked. Props [@westonruter] for reporting.minimum_wp_version
, as used by a number of sniffs detecting usage of deprecated WP features, has been updated to6.2
.WordPress.NamingConventions.PrefixAllGlobals
has been updated to recognize pluggable functions introduced in WP 6.4 and 6.5.WordPress.NamingConventions.ValidPostTypeSlug
has been updated to recognize reserved post types introduced in WP 6.4 and 6.5.WordPress.WP.ClassNameCase
has been updated to recognize classes introduced in WP 6.4 and 6.5.WordPress.WP.DeprecatedClasses
now detects classes deprecated in WordPress up to WP 6.5.WordPress.WP.DeprecatedFunctions
now detects functions deprecated in WordPress up to WP 6.5.IsUnitTestTrait
will now recognize classes which extend the new WP CoreWP_Font_Face_UnitTestCase
class as test classes.Fixed
WordPress.WP.PostsPerPage
could potentially result in anInternal.Exception
when encountering a query string which doesn't include the value forposts_per_page
in the query string. Props [@anomiex] for reporting.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.