Update dependency squizlabs/php_codesniffer to v3.7.1 #31
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.6.2
->3.7.1
Release Notes
squizlabs/PHP_CodeSniffer
v3.7.1
Compare Source
v3.7.0
Compare Source
PHP 8.1 Language Feature Support
PHP_CodeSniffer has run correctly under PHP 8.1 since PHP 8 support was added, but it has not supported new 8.1 language features until this release. Version 3.7.0 adds support for the following PHP 8.1 language features:
never
typeChangelog
T_ENUM_CASE
token to represent the case statements inside an enumT_TYPE_INTERSECTION
token to represent the ampersand character inside intersection typesFile::getMethodParameters
now supports the new PHP 8.1 readonly tokenproperty_readonly
array index is included in the return valuereadonly_token
array index is included in the return valueGeneric.PHP.LowerCaseKeyword
PSR2.Classes.PropertyDeclaration
Squiz.Commenting.BlockComment
Squiz.Commenting.DocCommentAlignment
Squiz.Commenting.VariableComment
Squiz.WhiteSpace.ScopeKeywordSpacing
Generic.PHP.UpperCaseConstant
andGeneric.PHP.LowerCaseConstant
now ignore type declarationstrue
/false
/null
when used as valuesGeneric.PHP.LowerCaseType
now supports the PHP 8.1never
type@throw
T_GOTO_LABEL
${
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 Mend Renovate. View repository job log here.