chore(deps): update dependency squizlabs/php_codesniffer to ~3.12.0#112
Merged
Merged
Conversation
|
candemiralp
approved these changes
May 1, 2025
khushboo-singhvi
approved these changes
May 1, 2025
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.8.0->~3.12.0Warning
Some dependencies could not be looked up. Check the warning logs for more information.
Release Notes
PHPCSStandards/PHP_CodeSniffer (squizlabs/php_codesniffer)
v3.12.0Compare Source
Added
finalproperties to File::getMemberProperties() through a newis_finalarray index in the return value. #834Changed
-h(Help) option now contains a more extensive list of "config" options which can be set. #809--sniffsor--excludecommand line arguments. #344--generatorcommand line argument. #709, #771titleattribute is missing, the documentation generation will now fall back to the sniff name as the title. #820SpacingBeforePropertyModifierorNoSpaceBeforePropertyModifiererror codes. #792SpacingBeforeHintorNoSpaceBeforeHinterror code, which was misleading.finalandabstractmodifier keywords. #604Internal.PropertyDoesNotExisterror code.Deprecated
All deprecation are slated for removal in PHP_CodeSniffer 4.0.
Sniffinterface. See #694.PHP_CodeSniffer\Generators\Text::printTitle()in favour ofPHP_CodeSniffer\Generators\Text::getFormattedTitle()PHP_CodeSniffer\Generators\Text::printTextBlock()in favour ofPHP_CodeSniffer\Generators\Text::getFormattedTextBlock()PHP_CodeSniffer\Generators\Text::printCodeComparisonBlock()in favour ofPHP_CodeSniffer\Generators\Text::getFormattedCodeComparisonBlock()PHP_CodeSniffer\Generators\Markdown::printHeader()in favour ofPHP_CodeSniffer\Generators\Markdown::getFormattedHeader()PHP_CodeSniffer\Generators\Markdown::printFooter()in favour ofPHP_CodeSniffer\Generators\Markdown::getFormattedFooter()PHP_CodeSniffer\Generators\Markdown::printTextBlock()in favour ofPHP_CodeSniffer\Generators\Markdown::getFormattedTextBlock()PHP_CodeSniffer\Generators\Markdown::printCodeComparisonBlock()in favour ofPHP_CodeSniffer\Generators\Markdown::getFormattedCodeComparisonBlock()PHP_CodeSniffer\Generators\HTML::printHeader()in favour ofPHP_CodeSniffer\Generators\HTML::getFormattedHeader()PHP_CodeSniffer\Generators\HTML::printToc()in favour ofPHP_CodeSniffer\Generators\HTML::getFormattedToc()PHP_CodeSniffer\Generators\HTML::printFooter()in favour ofPHP_CodeSniffer\Generators\HTML::getFormattedFooter()PHP_CodeSniffer\Generators\HTML::printTextBlock()in favour ofPHP_CodeSniffer\Generators\HTML::getFormattedTextBlock()PHP_CodeSniffer\Generators\HTML::printCodeComparisonBlock()in favour ofPHP_CodeSniffer\Generators\HTML::getFormattedCodeComparisonBlock()Fixed
readonlyproperties.[0 => ''].Other
v3.11.3Compare Source
Changed
SpaceBeforeCommaerror. #783Fixed
equalsSpacingwas set to0.equalsSpacingwas set to1.v3.11.2Compare Source
Changed
<standard>blocks. #723<standard>blocks. #737Fixed
define().DEFINEis encountered.define.define.v3.11.1Compare Source
Changed
--generator=...feature will respect the OS-expected EOL char in more places. #671Fixed
v3.11.0Compare Source
Added
Generic.WhiteSpace.HereNowdocIdentifierSpacingsniff. #586, #637<<<and the identifier string in heredoc/nowdoc start tokens.Generic.Strings.UnnecessaryHeredocsniff. #633Changed
$sniffClassis passed. #524, #625--generator=...feature will now always be presented in natural order based on the sniff name(s). #668AnnotationFound. #560, #627SpacingAfterOpenerror code has been replaced by theSpaceAfterOpenerror code. The latter is a pre-existing code. The former appears to have been a typo. #582Fixed
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 theConfiguration
📅 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 is behind base branch, 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.