Skip to content

Changelog for the 4.0.0RC1 release #1140

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

Merged
merged 1 commit into from
Jun 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,31 @@ The file documents changes to the PHP_CodeSniffer project.

_Nothing yet._

## [4.0.0RC1] - 2025-06-18

This release includes all improvements and bugfixes from PHP_CodeSniffer [3.13.1] and [3.13.2].

### Changed
- The error code `Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterVisbility` has been changed to `Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterVisibility`. [#1136]
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
- The following sniff(s) have received efficiency improvements:
- Generic.ControlStructures.InlineControlStructure
- Thanks to [Rodrigo Primo][@rodrigoprimo] for the patch.

### Fixed
- Fixed bug [#3889][sq-3889] : A selective `phpcs:enable` could sometimes override a later selective `phpcs:ignore`.
- Thanks to [Brad Jorsch][@anomiex] for the patch
- Fixed bug [#1128] : missing 'parenthesis_owner' index for T_FUNCTION token on PHP < 7.4 when function is named "fn".
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.

### Other
- The GPG signature for the PHAR files has been rotated. The new fingerprint is: D91D86963AF3A29B6520462297B02DD8E5071466.

[sq-3889]: https://github.com/squizlabs/PHP_CodeSniffer/issues/3889
[#1128]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/1128
[#1136]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/1136


## [3.13.2] - 2025-06-18

### Changed
Expand Down Expand Up @@ -7956,6 +7981,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
-->

[Unreleased]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/master...HEAD
[4.0.0RC1]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/4.0.0beta1...4.0.0RC1
[4.0.0beta1]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.13.0...4.0.0beta1
[3.13.2]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.13.1...3.13.2
[3.13.1]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.13.0...3.13.1
Expand Down
4 changes: 2 additions & 2 deletions src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ class Config
public const VERSION = '4.0.0';

/**
* Package stability; either stable, beta or alpha.
* Package stability; either stable, RC, beta or alpha.
*
* @var string
*/
public const STABILITY = 'beta';
public const STABILITY = 'RC';

/**
* Default report width when no report width is provided and 'auto' does not yield a valid width.
Expand Down