-
Notifications
You must be signed in to change notification settings - Fork 2
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.11.1 #464
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/squizlabs-php_codesniffer-3.x
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 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
renovate
bot
force-pushed
the
renovate/squizlabs-php_codesniffer-3.x
branch
from
December 8, 2023 12:41
f5cfd1b
to
69f3f5c
Compare
renovate
bot
changed the title
Update dependency squizlabs/php_codesniffer to v3.7.2
Update dependency squizlabs/php_codesniffer to v3.8.0
Dec 8, 2023
renovate
bot
force-pushed
the
renovate/squizlabs-php_codesniffer-3.x
branch
from
January 11, 2024 22:10
69f3f5c
to
1352e9f
Compare
renovate
bot
changed the title
Update dependency squizlabs/php_codesniffer to v3.8.0
Update dependency squizlabs/php_codesniffer to v3.8.1
Jan 11, 2024
renovate
bot
force-pushed
the
renovate/squizlabs-php_codesniffer-3.x
branch
from
February 16, 2024 16:11
1352e9f
to
b55d9d5
Compare
renovate
bot
changed the title
Update dependency squizlabs/php_codesniffer to v3.8.1
Update dependency squizlabs/php_codesniffer to v3.9.0
Feb 16, 2024
renovate
bot
force-pushed
the
renovate/squizlabs-php_codesniffer-3.x
branch
from
March 31, 2024 23:16
b55d9d5
to
c606f96
Compare
renovate
bot
changed the title
Update dependency squizlabs/php_codesniffer to v3.9.0
Update dependency squizlabs/php_codesniffer to v3.9.1
Mar 31, 2024
renovate
bot
force-pushed
the
renovate/squizlabs-php_codesniffer-3.x
branch
from
April 23, 2024 22:08
c606f96
to
deaf17f
Compare
renovate
bot
changed the title
Update dependency squizlabs/php_codesniffer to v3.9.1
Update dependency squizlabs/php_codesniffer to v3.9.2
Apr 23, 2024
renovate
bot
force-pushed
the
renovate/squizlabs-php_codesniffer-3.x
branch
from
May 20, 2024 09:46
deaf17f
to
197887c
Compare
renovate
bot
changed the title
Update dependency squizlabs/php_codesniffer to v3.9.2
Update dependency squizlabs/php_codesniffer to v3.10.0
May 20, 2024
renovate
bot
force-pushed
the
renovate/squizlabs-php_codesniffer-3.x
branch
from
May 22, 2024 21:39
197887c
to
680e61b
Compare
renovate
bot
changed the title
Update dependency squizlabs/php_codesniffer to v3.10.0
Update dependency squizlabs/php_codesniffer to v3.10.1
May 22, 2024
renovate
bot
force-pushed
the
renovate/squizlabs-php_codesniffer-3.x
branch
from
July 22, 2024 02:04
680e61b
to
3569208
Compare
renovate
bot
changed the title
Update dependency squizlabs/php_codesniffer to v3.10.1
Update dependency squizlabs/php_codesniffer to v3.10.2
Jul 22, 2024
renovate
bot
force-pushed
the
renovate/squizlabs-php_codesniffer-3.x
branch
from
September 18, 2024 13:33
3569208
to
36399b7
Compare
renovate
bot
changed the title
Update dependency squizlabs/php_codesniffer to v3.10.2
Update dependency squizlabs/php_codesniffer to v3.10.3
Sep 18, 2024
renovate
bot
force-pushed
the
renovate/squizlabs-php_codesniffer-3.x
branch
from
November 12, 2024 11:30
36399b7
to
6ee905d
Compare
renovate
bot
changed the title
Update dependency squizlabs/php_codesniffer to v3.10.3
Update dependency squizlabs/php_codesniffer to v3.11.0
Nov 12, 2024
renovate
bot
force-pushed
the
renovate/squizlabs-php_codesniffer-3.x
branch
from
November 16, 2024 12:14
6ee905d
to
3b49a0f
Compare
renovate
bot
changed the title
Update dependency squizlabs/php_codesniffer to v3.11.0
Update dependency squizlabs/php_codesniffer to v3.11.1
Nov 16, 2024
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.11.1
Release Notes
PHPCSStandards/PHP_CodeSniffer (squizlabs/php_codesniffer)
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 ESLint >= 9.0.For more information, see #436.
v3.9.1
Compare Source
Added
Changed
Fixed
v3.9.0
Compare Source
Added
PHP_CodeSniffer\Sniffs\DeprecatedSniff
interface to allow for marking a sniff as deprecated. #281When running in
-q
(quiet) mode, the deprecation notices will be hidden.-e
) an asterix*
will show next to deprecated sniffs.Generic.CodeAnalysis.RequireExplicitBooleanOperatorPrecedence
sniff. #197ShortOpenEchoNoSemicolon
errorcode to allow for selectively ignoring missing semicolons in single line embedded PHP snippets within short open echo tags.Changed
phpcbf
run. #308AbstractSniffUnitTest
class will now show a (non-build-breaking) warning when test case files contain fixable errors/warnings, but there is no corresponding.fixed
file available in the test suite to verify the fixes against. #336Deprecated
PHP_CodeSniffer\Filters\ExactMatch::getBlacklist()
andPHP_CodeSniffer\Filters\ExactMatch::getWhitelist()
methods are deprecated and will be removed in the 4.0 release. See #198.ExactMatch::getDisallowedFiles()
andExactMatch::getAllowedFiles()
methodsExactMatch
cross-version compatible with both PHP_CodeSniffer 3.9.0+ as well as 4.0+, implement the newgetDisallowedFiles()
andgetAllowedFiles()
methods.getDisallowedFiles()
andgetAllowedFiles()
methods as well as thegetBlacklist()
andgetWhitelist()
are available, the new methods will take precedence over the old methods.Zend.Debug.CodeAnalyzer
sniff. See #277.Fixed
MissingParamType
error code will now be used instead ofMissingParamName
when a parameter name is provided, but not its type. Additionally, invalid type hint suggestions will no longer be provided in these cases.switch
case
.class
keyword was not checked when the space included a new line or comment.Other
The list is located in the
.github
folder.v3.8.1
Compare Source
Added
Changed
Fixed
-s
is used-s
is used and messages wrapstrue
/false
/null
type declarationsparent
,self
or a namespace relative class name type declarationv3.8.0
Compare Source
Squizlabs/PHP_CodeSniffer is dead. Long live PHPCSStandards/PHP_CodeSniffer!
Breaking Changes
squizlabs/PHP_CodeSniffer
repository has been abandoned. ThePHPCSStandards/PHP_CodeSniffer
repository will serve as the continuation of the project. For more information about this change, please read the announcement.squizlabs/php_codesniffer
package now points to the new repository and everything will continue to work as before.https://squizlabs.github.io/PHP_CodeSniffer/phars/
tohttps://phars.phpcodesniffer.com/phars/
.https://squizlabs.github.io/PHP_CodeSniffer/[phpcs|phpcbf].phar
orhttps://github.com/squizlabs/PHP_CodeSnifffer/releases/latest/download/[phpcs|phpcbf].phar
tohttps://phars.phpcodesniffer.com/[phpcs|phpcbf].phar
.[email protected]:squizlabs/PHP_CodeSniffer.git
to[email protected]:PHPCSStandards/PHP_CodeSniffer.git
.squizlabs/PHP_CodeSniffer
repository are invited to resubmit these to thePHPCSStandards/PHP_CodeSniffer
repository.Added
true
as a stand-alone type declarationFile::getMethodProperties()
,File::getMethodParameters()
andFile::getMemberProperties()
methods now all support thetrue
typetrue
as a stand-alone type to a number of sniffsGeneric.PHP.RequireStrictTypes.Disabled
error codeParamNameUnexpectedAmpersandPrefix
error for parameters annotated as passed by reference while the parameter is not passed by referencesetUp()
/tearDown()
methods or overload thesetUp()
in theAbstractSniffUnitTest
test case, they will need to be adjusted. See the [PR details for further information](https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/59/commits/bc302dd97787Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.