Update dependency squizlabs/php_codesniffer to v4 - #104
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
Contributor
Author
|
renovate
Bot
force-pushed
the
renovate/squizlabs-php_codesniffer-4.x
branch
from
September 29, 2025 05:45
cb772ae to
29e5f33
Compare
renovate
Bot
force-pushed
the
renovate/squizlabs-php_codesniffer-4.x
branch
2 times, most recently
from
October 14, 2025 22:50
7a95e11 to
37e29be
Compare
renovate
Bot
force-pushed
the
renovate/squizlabs-php_codesniffer-4.x
branch
2 times, most recently
from
November 3, 2025 05:02
8212973 to
d4645ca
Compare
renovate
Bot
force-pushed
the
renovate/squizlabs-php_codesniffer-4.x
branch
from
November 10, 2025 06:03
d4645ca to
fb5255c
Compare
renovate
Bot
force-pushed
the
renovate/squizlabs-php_codesniffer-4.x
branch
from
November 17, 2025 06:38
fb5255c to
29792d6
Compare
renovate
Bot
force-pushed
the
renovate/squizlabs-php_codesniffer-4.x
branch
from
December 22, 2025 07:02
29792d6 to
ffdd745
Compare
renovate
Bot
force-pushed
the
renovate/squizlabs-php_codesniffer-4.x
branch
from
January 5, 2026 04:54
ffdd745 to
0e730b4
Compare
renovate
Bot
force-pushed
the
renovate/squizlabs-php_codesniffer-4.x
branch
from
January 23, 2026 23:41
0e730b4 to
2157be1
Compare
renovate
Bot
force-pushed
the
renovate/squizlabs-php_codesniffer-4.x
branch
from
February 5, 2026 10:49
2157be1 to
0448b80
Compare
renovate
Bot
force-pushed
the
renovate/squizlabs-php_codesniffer-4.x
branch
2 times, most recently
from
February 9, 2026 04:41
c59d900 to
84b7fef
Compare
renovate
Bot
force-pushed
the
renovate/squizlabs-php_codesniffer-4.x
branch
from
February 16, 2026 04:45
84b7fef to
cc400b2
Compare
renovate
Bot
force-pushed
the
renovate/squizlabs-php_codesniffer-4.x
branch
from
February 23, 2026 05:42
cc400b2 to
6868048
Compare
renovate
Bot
force-pushed
the
renovate/squizlabs-php_codesniffer-4.x
branch
from
March 2, 2026 10:58
6868048 to
2e39c8d
Compare
renovate
Bot
force-pushed
the
renovate/squizlabs-php_codesniffer-4.x
branch
from
March 16, 2026 05:28
2e39c8d to
2e7ffde
Compare
renovate
Bot
force-pushed
the
renovate/squizlabs-php_codesniffer-4.x
branch
2 times, most recently
from
April 13, 2026 05:02
7d143ce to
8cae1f8
Compare
renovate
Bot
force-pushed
the
renovate/squizlabs-php_codesniffer-4.x
branch
2 times, most recently
from
April 27, 2026 06:00
3c9cd2d to
719e209
Compare
renovate
Bot
force-pushed
the
renovate/squizlabs-php_codesniffer-4.x
branch
2 times, most recently
from
May 11, 2026 04:35
fd62aea to
975e411
Compare
renovate
Bot
force-pushed
the
renovate/squizlabs-php_codesniffer-4.x
branch
from
May 18, 2026 04:21
975e411 to
0ad0e80
Compare
renovate
Bot
force-pushed
the
renovate/squizlabs-php_codesniffer-4.x
branch
from
June 1, 2026 19:47
0ad0e80 to
86d0a97
Compare
renovate
Bot
force-pushed
the
renovate/squizlabs-php_codesniffer-4.x
branch
2 times, most recently
from
June 22, 2026 07:06
f01c772 to
a7c3c5e
Compare
renovate
Bot
force-pushed
the
renovate/squizlabs-php_codesniffer-4.x
branch
2 times, most recently
from
July 13, 2026 08:53
5f7ecc5 to
71d3af7
Compare
renovate
Bot
force-pushed
the
renovate/squizlabs-php_codesniffer-4.x
branch
from
July 27, 2026 04:37
71d3af7 to
7c6e653
Compare
renovate
Bot
force-pushed
the
renovate/squizlabs-php_codesniffer-4.x
branch
from
August 3, 2026 07:08
7c6e653 to
584b621
Compare
renovate
Bot
force-pushed
the
renovate/squizlabs-php_codesniffer-4.x
branch
2 times, most recently
from
August 17, 2026 04:48
7e39ceb to
a8015c3
Compare
| datasource | package | from | to | | ---------- | ------------------------- | ------ | ----- | | packagist | squizlabs/php_codesniffer | 3.13.6 | 4.0.4 | Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate
Bot
force-pushed
the
renovate/squizlabs-php_codesniffer-4.x
branch
from
August 24, 2026 08:05
a8015c3 to
8aaa63e
Compare
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.7.1→^4.0.0Release Notes
PHPCSStandards/PHP_CodeSniffer (squizlabs/php_codesniffer)
v4.0.4: - 2026-08-06Compare Source
The 4.0.2 release, the 4.0.3 and the 4.0.4 release are 100% the same (aside from the version number), there was just a slight snafu in the release publication on GitHub (missing PHAR assets). Sorry for the confusion.
v4.0.2: - 2026-08-06Compare Source
This is a security release and all users are advised to update their install(s) as soon as possible.
The security issue only affects users of the
Gitblame,HgblameorSvnblamereport(s).Added
(void)cast. #1325The
T_VOID_CASTtoken has been added to theTokens::CAST_TOKENSarray.suggestsection to thecomposer.jsonfile to inform users about the recommendediconvandpcntlPHP extensions. #1388Changed
libxmlis a required PHP extension. #1409$thisin static closures. #1377WrongOpener*) has been made more informative. #1358. Fixes #1322.PEAR.Functions.FunctionDeclaration#1445CloseBracketLineerror message now exposes 1 data value (previously 0).EmptyLineerror message now exposes 1 data value (previously 0).Indenterror message now exposes 3 data values (previously 2).PSR12.Classes.AnonClassDeclarationandSquiz.Functions.MultiLineFunctionDeclarationsniffs.PSR2.Classes.ClassDeclaration#1446ExtendsLineandImplementsLineerror messages now expose 3 data values (previously 1).SpaceBeforeExtendsandSpaceBeforeImplementserror messages now expose 2 data values (previously 1).PSR12.Classes.AnonClassDeclarationandSquiz.Classes.ClassDeclarationsniffs.PSR2.ControlStructures.SwitchDeclaration#1447defaultNotLowerandcaseNotLowererror messages now expose 3 data values (previously 2).SpaceBeforeColonDEFAULTandSpaceBeforeColonCASEerror messages now expose 1 data value (previously 0).BodyOnNextLineDEFAULTandBodyOnNextLineCASEerror messages now expose 1 data value (previously 0).WrongOpenerdefaultandWrongOpenercaseerror messages now expose 1 data value (previously 0).Squiz.ControlStructures.SwitchDeclaration#1449CaseNotLowerandDefaultNotLowererror messages now expose 3 data values (previously 2).CaseIndentandDefaultIndenterror messages now expose 2 data values (previously 0).SpaceBeforeColonCaseandSpaceBeforeColonDefaulterror messages now expose 1 data value (previously 0).BreakIndenterror message now exposes 1 data value (previously 0).SpacingAfterCaseandSpacingAfterDefaulterror messages now expose 1 data value (previously 0).Squiz.Functions.FunctionDeclarationArgumentSpacing#1452SpaceBeforeEqualserror message now exposes 3 data values (previously 2).SpaceAfterEqualserror message now exposes 3 data values (previously 2).Squiz.Functions.MultiLineFunctionDeclaration#1453FirstParamSpacingandUseFirstParamSpacingerror messages now expose 1 data value (previously 0).OneParamPerLineandUseOneParamPerLineerror messages now expose 1 data value (previously 0).PSR12.Classes.AnonClassDeclarationsniff.Fixed
Gitblame,HgblameorSvnblamereport(s) would process a file whose name contains shell metacharacters. #1473Fullreport, or any of the other non-*blame reports, are not affected.$thisin non-static closures nested in OO methods.phpcbf.Squiz.Functions.MultiLineFunctionDeclarationsniff.Other
5CB4F77.New Contributors
The PHP_CodeSniffer project is happy to welcome the following new contributors:
@bigdevlarry, @Faze-up, @jrchamp, @lazerg, @morozov, @ntdiary, @SAY-5
Statistics
Closed: 10 issues
Merged: 33 pull requests
Follow @phpcs on Mastodon or @PHP_CodeSniffer on X to stay informed.
Please consider funding the PHP_CodeSniffer project. If you already do so: thank you!
v4.0.1: - 2025-11-10Compare Source
This release includes all improvements and bugfixes from PHP_CodeSniffer 3.13.5.
Added
Changed
Fixed
phpcs:ignorecomma-separated rule reference lists.phpcs:disable/phpcs:enableignore annotations.switch.case/defaultand "case breaking" statements.switchcase condition or after adefaultkeyword, was not regarded as a "scope_opener" for thecase/defaultbody.WrongOpenererror is now also auto-fixable if the wrong opener is a PHP close tag.New Contributors
The PHP_CodeSniffer project is happy to welcome the following new contributors:
@andrewnicols, @Soh1121
Statistics
Closed: 2 issues
Merged: 8 pull requests
Follow @phpcs on Mastodon or @PHP_CodeSniffer on X to stay informed.
Please consider funding the PHP_CodeSniffer project. If you already do so: thank you!
v4.0.0: - 2025-09-16Compare Source
This release contains breaking changes.
Upgrade guides for both ruleset maintainers/end-users, as well as for sniff developers and integrators, have been published to the Wiki.
You are strongly encouraged to read the upgrade guide applicable to your situation before upgrading.
This release includes all improvements and bugfixes from PHP_CodeSniffer 4.0.0-beta1, 4.0.0-RC1, 3.13.3 and 3.13.4.
Changed
exit/die/true/false/nullwill be tokenized as the keyword token and the token'content'will include the leading backslash. #1201^8.4.0 || ^9.3.4 || ^10.5.32 || 11.3.3 - 11.5.28 || ^11.5.31. #1247Fixed
phpcbfon code provided via STDIN.// phpcs:setfor inline array properties did not handle a single item array with the valuetrue,falseornullcorrectly.phpcbfin parallel mode.Other
masterbranch has been renamed to3.xand the default branch has changed to the4.xbranch.Statistics
Closed: 5 issues
Merged: 35 pull requests
Follow @phpcs on Mastodon or @PHP_CodeSniffer on X to stay informed.
Please consider funding the PHP_CodeSniffer project. If you already do so: thank you!
Configuration
📅 Schedule: (in timezone UTC)
🚦 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.
Read more information about the use of Renovate Bot within Laminas.