fix(deps): update dependency squizlabs/php_codesniffer to v3.13.0 #6
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.13.0
Release Notes
PHPCSStandards/PHP_CodeSniffer (squizlabs/php_codesniffer)
v3.13.0
Compare Source
Added
final
properties to the following sniffs:Changed
goto
language construct keyword. #917final
modifier keyword is placed before a visibility keyword. #950FinalAfterVisibility
error code.--reports
CLI flag. #1078Deprecated
PHP_CodeSniffer\Sniffs\Sniff
interface. #891-q
(=quiet) CLI flag.Fixed
Other
Calling all testers!
The first beta release for PHP_CodeSniffer 4.0 has been tagged. Please help by testing the beta release and reporting any issues you run into.
Upgrade guides for both ruleset maintainers/end-users, as well as for sniff developers and integrators, have been published to the Wiki to help smooth the transition.
v3.12.2
Compare Source
Added
final
properties to the following sniffs:Changed
short_open_tag
setting.Fixed
@param
tags.final
classes.Diff
+ theCode
reports are requested and caching is on.v3.12.1
Compare Source
Added
Changed
Deprecated
Generic.Functions.CallTimePassByReference
sniff. See #921.Fixed
InvalidArgumentException
s when displaying verbose information.?
in nullable types for readonly properties.goto
was not recognized as a terminating statement for a case/default in a switch control structure.Other
Read the open invitation (#924) for all the details.
v3.12.0
Compare Source
Added
final
properties to File::getMemberProperties() through a newis_final
array index in the return value. #834Changed
-h
(Help) option now contains a more extensive list of "config" options which can be set. #809--sniffs
or--exclude
command line arguments. #344--generator
command line argument. #709, #771title
attribute is missing, the documentation generation will now fall back to the sniff name as the title. #820SpacingBeforePropertyModifier
orNoSpaceBeforePropertyModifier
error codes. #792SpacingBeforeHint
orNoSpaceBeforeHint
error code, which was misleading.final
andabstract
modifier keywords. #604Internal.PropertyDoesNotExist
error code.Deprecated
All deprecation are slated for removal in PHP_CodeSniffer 4.0.
Sniff
interface. 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
readonly
properties.[0 => '']
.Other
v3.11.3
Compare Source
Changed
SpaceBeforeComma
error. #783Fixed
equalsSpacing
was set to0
.equalsSpacing
was set to1
.v3.11.2
Compare Source
Changed
<standard>
blocks. #723<standard>
blocks. #737Fixed
define()
.DEFINE
is encountered.define
.define
.v3.11.1
Compare Source
Changed
--generator=...
feature will respect the OS-expected EOL char in more places. #671Fixed
v3.11.0
Compare Source
Added
Generic.WhiteSpace.HereNowdocIdentifierSpacing
sniff. #586, #637<<<
and the identifier string in heredoc/nowdoc start tokens.Generic.Strings.UnnecessaryHeredoc
sniff. #633Changed
$sniffClass
is passed. #524, #625--generator=...
feature will now always be presented in natural order based on the sniff name(s). #668AnnotationFound
. #560, #627SpacingAfterOpen
error code has been replaced by theSpaceAfterOpen
error code. The latter is a pre-existing code. The former appears to have been a typo. #582Fixed
v3.10.3
Compare Source
Changed
Fixed
Other
gh attestation verify [phpcs|phpcbf].phar -o PHPCSStandards
. #574v3.10.2
Compare Source
Changed
Reports::generateFileReport()
method is now documented in the Reports interface. [#523]Fixed
TabsUsedHeredocCloser
- to allow for selectively excluding 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 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.