Skip to content

Commit ed5e2c2

Browse files
authored
Merge pull request #1140 from PHPCSStandards/feature/changelog-4.0.0rc1
Changelog for the 4.0.0RC1 release
2 parents 924af7c + 1355a55 commit ed5e2c2

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,31 @@ The file documents changes to the PHP_CodeSniffer project.
66

77
_Nothing yet._
88

9+
## [4.0.0RC1] - 2025-06-18
10+
11+
This release includes all improvements and bugfixes from PHP_CodeSniffer [3.13.1] and [3.13.2].
12+
13+
### Changed
14+
- The error code `Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterVisbility` has been changed to `Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterVisibility`. [#1136]
15+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
16+
- The following sniff(s) have received efficiency improvements:
17+
- Generic.ControlStructures.InlineControlStructure
18+
- Thanks to [Rodrigo Primo][@rodrigoprimo] for the patch.
19+
20+
### Fixed
21+
- Fixed bug [#3889][sq-3889] : A selective `phpcs:enable` could sometimes override a later selective `phpcs:ignore`.
22+
- Thanks to [Brad Jorsch][@anomiex] for the patch
23+
- Fixed bug [#1128] : missing 'parenthesis_owner' index for T_FUNCTION token on PHP < 7.4 when function is named "fn".
24+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
25+
26+
### Other
27+
- The GPG signature for the PHAR files has been rotated. The new fingerprint is: D91D86963AF3A29B6520462297B02DD8E5071466.
28+
29+
[sq-3889]: https://github.com/squizlabs/PHP_CodeSniffer/issues/3889
30+
[#1128]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/1128
31+
[#1136]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/1136
32+
33+
934
## [3.13.2] - 2025-06-18
1035

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

79587983
[Unreleased]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/master...HEAD
7984+
[4.0.0RC1]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/4.0.0beta1...4.0.0RC1
79597985
[4.0.0beta1]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.13.0...4.0.0beta1
79607986
[3.13.2]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.13.1...3.13.2
79617987
[3.13.1]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.13.0...3.13.1

src/Config.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,11 @@ class Config
9292
public const VERSION = '4.0.0';
9393

9494
/**
95-
* Package stability; either stable, beta or alpha.
95+
* Package stability; either stable, RC, beta or alpha.
9696
*
9797
* @var string
9898
*/
99-
public const STABILITY = 'beta';
99+
public const STABILITY = 'RC';
100100

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

0 commit comments

Comments
 (0)