Update dependency squizlabs/php_codesniffer to v3.10.3 #310
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.9.0->3.10.3Release Notes
PHPCSStandards/PHP_CodeSniffer (squizlabs/php_codesniffer)
v3.10.3Compare Source
Changed
Fixed
Other
gh attestation verify [phpcs|phpcbf].phar -o PHPCSStandards. #574v3.10.2Compare Source
Changed
Reports::generateFileReport()method is now documented in the Reports interface. #523Fixed
TabsUsedHeredocCloser- to allow for selectively excluding the indentation check for heredoc/nowdoc closers.SpacesUsedHeredocCloser.v3.10.1Compare Source
Added
Changed
Fixed
File::findStartOfStatement(): the start of statement/expression determination for tokens in parentheses/short array brackets/others scopes, nested within match expressions, was incorrect in most cases.The trickle down effect of the bug fixes made to the
File::findStartOfStatement()method, is that the Generic.WhiteSpace.ScopeIndent and the PEAR.WhiteSpace.ScopeIndent sniffs should now be able to correctly determine and fix the indent for match expressions containing nested expressions.These fixes also fix an issue with the
Squiz.Arrays.ArrayDeclarationsniff and possibly other, unreported bugs.v3.10.0Compare Source
Added
T_TYPE_OPEN_PARENTHESISandT_TYPE_CLOSE_PARENTHESIStokens to represent the parentheses in DNF types.parenthesis_openerandparenthesis_closertoken array indexes set and the tokens between them will have thenested_parenthesisindex.File::getMethodProperties(),File::getMethodParameters()andFile::getMemberProperties()methods now all support DNF types. #471, #472, #473Changed
Fixed
elseandifcorrectly.v3.9.2Compare Source
Changed
Fixed
trueorfalse; or containedtrueorfalseas part of a union type.Other
The (deprecated)
Generic.Debug.ESLintsniff only supports the "old" configuration file formats and when using the sniff to run ESLint, theESLINT_USE_FLAT_CONFIG=falseenvironment variable will need to be set when using ESLint >= 9.0.For more information, see #436.
v3.9.1Compare Source
Added
Changed
Fixed
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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 was generated by Mend Renovate. View the repository job log.