4.0.0 - 2025-09-16 #1264
jrfnl
announced in
Announcements
Replies: 1 comment 1 reply
-
Really fantastic work! Great to see this release live 🎉 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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
/null
will be tokenized as the keyword token and the token'content'
will include the leading backslash. Proposal to fix Tokenizer issue with FQN exit/die/true/false/null #1201^8.4.0 || ^9.3.4 || ^10.5.32 || 11.3.3 - 11.5.28 || ^11.5.31
. Composer: raise minimum PHPUnit 8 version to 8.4.0 #1247Fixed
phpcbf
on code provided via STDIN.// phpcs:set
for inline array properties did not handle a single item array with the valuetrue
,false
ornull
correctly.phpcbf
in parallel mode.Other
master
branch has been renamed to3.x
and the default branch has changed to the4.x
branch.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!
This discussion was created from the release 4.0.0 - 2025-09-16.
Beta Was this translation helpful? Give feedback.
All reactions