Skip to content

Commit f076b63

Browse files
committed
Changelog for the 3.9.2 release
1 parent 83f3859 commit f076b63

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

CHANGELOG.md

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

77
_Nothing yet._
88

9+
## [3.9.2] - 2024-04-24
10+
11+
### Changed
12+
- The Generic.ControlStructures.DisallowYodaConditions sniff no longer listens for the null coalesce operator. [#458]
13+
- Thanks to [Rodrigo Primo][@rodrigoprimo] for the patch.
14+
- Various housekeeping, including improvements to the tests and documentation.
15+
- Thanks to [Dan Wallis][@fredden], [Rodrigo Primo][@rodrigoprimo] and [Juliette Reinders Folmer][@jrfnl] for their contributions.
16+
17+
### Fixed
18+
- Fixed bug [#381] : Squiz.Commenting.ClosingDeclarationComment could throw the wrong error when the close brace being examined is at the very end of a file.
19+
- Thanks to [Rodrigo Primo][@rodrigoprimo] for the patch.
20+
- Fixed bug [#385] : Generic.CodeAnalysis.JumbledIncrementer improved handling of parse errors/live coding.
21+
- Thanks to [Rodrigo Primo][@rodrigoprimo] for the patch.
22+
- Fixed bug [#394] : Generic.Functions.CallTimePassByReference was not flagging call-time pass-by-reference in anonymous class instantiations
23+
- Thanks to [Rodrigo Primo][@rodrigoprimo] for the patch.
24+
- Fixed bug [#420] : PEAR.Functions.FunctionDeclaration could run into a blocking PHP notice while fixing code containing a parse error.
25+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
26+
- Fixed bug [#421] : File::getMethodProperties() small performance improvement & more defensive coding.
27+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
28+
- Fixed bug [#423] : PEAR.WhiteSpace.ScopeClosingBrace would have a fixer conflict with itself when a close tag was preceded by non-empty inline HTML.
29+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
30+
- Fixed bug [#424] : PSR2.Classes.ClassDeclaration using namespace relative interface names in the extends/implements part of a class declaration would lead to a fixer conflict.
31+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
32+
- Fixed bug [#427] : Squiz.Operators.OperatorSpacing would have a fixer conflict with itself when an operator was preceeded by a new line and the previous line ended in a comment.
33+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
34+
- Fixed bug [#430] : Squiz.ControlStructures.ForLoopDeclaration: fixed potential undefined array index notice
35+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
36+
- Fixed bug [#431] : PSR2.Classes.ClassDeclaration will no longer try to auto-fix multi-line interface implements statements if these are interlaced with comments on their own line. This prevents a potential fixer conflict.
37+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
38+
- Fixed bug [#453] : Arrow function tokenization was broken when the return type was a stand-alone `true` or `false`; or contained `true` or `false` as part of a union type.
39+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
40+
41+
### Other
42+
- [ESLint 9.0] has been released and changes the supported configuration file format.
43+
The (deprecated) `Generic.Debug.ESLint` sniff only supports the "old" configuration file formats and when using the sniff to run ESLint, the `ESLINT_USE_FLAT_CONFIG=false` environment variable will need to be set when using ESLint >= 9.0.
44+
For more information, see [#436].
45+
46+
47+
[ESLint 9.0]: https://eslint.org/blog/2024/04/eslint-v9.0.0-released/#flat-config-is-now-the-default-and-has-some-changes
48+
49+
[#381]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/381
50+
[#385]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/385
51+
[#394]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/394
52+
[#420]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/420
53+
[#421]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/421
54+
[#423]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/423
55+
[#424]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/424
56+
[#427]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/427
57+
[#430]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/430
58+
[#431]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/431
59+
[#436]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/436
60+
[#453]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/453
61+
[#458]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/458
62+
963
## [3.9.1] - 2024-03-31
1064

1165
### Added
@@ -6829,6 +6883,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
68296883
-->
68306884

68316885
[Unreleased]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/master...HEAD
6886+
[3.9.2]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.9.1...3.9.2
68326887
[3.9.1]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.9.0...3.9.1
68336888
[3.9.0]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.8.1...3.9.0
68346889
[3.8.1]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.8.0...3.8.1

0 commit comments

Comments
 (0)