You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+55Lines changed: 55 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,60 @@ The file documents changes to the PHP_CodeSniffer project.
6
6
7
7
_Nothing yet._
8
8
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.
- 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
- 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.
0 commit comments