-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Update dependency squizlabs/php_codesniffer to v3.12.0 #37
Open
renovate
wants to merge
1
commit into
2.x
Choose a base branch
from
renovate/squizlabs-php_codesniffer-3.x
base: 2.x
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 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
e236516
to
99dc957
Compare
99dc957
to
0850ea5
Compare
0850ea5
to
fc77181
Compare
fc77181
to
5f1a89d
Compare
5f1a89d
to
23ced32
Compare
23ced32
to
190120c
Compare
190120c
to
acc5395
Compare
acc5395
to
8a7af43
Compare
8a7af43
to
28002d3
Compare
28002d3
to
48d2e80
Compare
48d2e80
to
f239e21
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.7.1
->3.12.0
Release Notes
PHPCSStandards/PHP_CodeSniffer (squizlabs/php_codesniffer)
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 have thenested_parenthesis
index.File::getMethodProperties()
,File::getMethodParameters()
andFile::getMemberProperties()
methods now all support DNF types. #471, #472, #473Changed
Fixed
else
andif
correctly.v3.9.2
Compare Source
Changed
Fixed
true
orfalse
; or containedtrue
orfalse
as part of a union type.Other
The (deprecated)
Generic.Debug.ESLint
sniff only supports the "old" configuration file formats and when using the sniff to run ESLint, theESLINT_USE_FLAT_CONFIG=false
environment variable will need to be set when using EConfiguration
📅 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.