-
Notifications
You must be signed in to change notification settings - Fork 0
fix(deps): update dependency squizlabs/php_codesniffer to v3.12.2 #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/squizlabs-php_codesniffer-3.x-lockfile
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
2af91f1
to
0daa0c2
Compare
0daa0c2
to
8445e2c
Compare
8445e2c
to
949dac7
Compare
949dac7
to
2c00437
Compare
2c00437
to
9e0df21
Compare
9e0df21
to
2f1fe23
Compare
2f1fe23
to
17cff03
Compare
17cff03
to
2c1c5e0
Compare
2c1c5e0
to
75cf5ba
Compare
75cf5ba
to
d9d6ff8
Compare
d9d6ff8
to
5e8ca8c
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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.12.2
Release Notes
PHPCSStandards/PHP_CodeSniffer (squizlabs/php_codesniffer)
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. #523Fixed
TabsUsedHeredocCloser
- to allow for selectively excluding the indentation check for heredoc/nowdoc closers.SpacesUsedHeredocCloser
.v3.10.1
Compare 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.ArrayDeclaration
sniff and possibly other, unreported bugs.v3.10.0
Compare Source
Added
T_TYPE_OPEN_PARENTHESIS
andT_TYPE_CLOSE_PARENTHESIS
tokens to represent the parentheses in DNF types.parenthesis_opener
andparenthesis_closer
token array indexes set and the tokens between them will haveConfiguration
📅 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.