@@ -6,6 +6,44 @@ The file documents changes to the PHP_CodeSniffer project.
6
6
7
7
_Nothing yet._
8
8
9
+ ## [3.12.1] - 2025-04-04
10
+
11
+ ### Added
12
+ - Documentation for the following sniffs:
13
+ - Squiz.Commenting.BlockComment
14
+ - Thanks to [Colin Stewart][@costdev] for the patch.
15
+
16
+ ### Changed
17
+ - Generic.WhiteSpace.HereNowdocIdentifierSpacing: improved error message text.
18
+ - Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
19
+ - Various housekeeping, including improvements to the tests and documentation.
20
+ - Thanks to [Rodrigo Primo][@rodrigoprimo] and [Juliette Reinders Folmer][@jrfnl] for their contributions.
21
+
22
+ ### Deprecated
23
+ - The `Generic.Functions.CallTimePassByReference` sniff. See [#921].
24
+ - This sniff will be removed in version 4.0.0.
25
+
26
+ ### Fixed
27
+ - Fixed bug [#906] : Fixer: prevent `InvalidArgumentException`s when displaying verbose information.
28
+ - Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
29
+ - Fixed bug [#907] : Tokenizer/PHP: tokenization of tokens related to union, intersection and DNF types in combination with PHP 8.4 final properties.
30
+ - Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
31
+ - Fixed bug [#908] : Tokenizer/PHP: tokenization of `?` in nullable types for readonly properties.
32
+ - Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
33
+ - Fixed bug [#916] : Tokenizer/PHP: `goto` was not recognized as a terminating statement for a case/default in a switch control structure.
34
+ - Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
35
+
36
+ ### Other
37
+ - PHP_CodeSniffer 4.0 is coming soon! Interested in a sneak peek ? Join the live stream at any time on April 14, 15, 17 or 18.
38
+ Read the open invitation ([#924]) for all the details.
39
+
40
+ [#906]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/906
41
+ [#907]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/907
42
+ [#908]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/908
43
+ [#916]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/916
44
+ [#921]: https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/921
45
+ [#924]: https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/924
46
+
9
47
## [3.12.0] - 2025-03-18
10
48
11
49
### Added
@@ -7412,6 +7450,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
7412
7450
-->
7413
7451
7414
7452
[Unreleased]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/master...HEAD
7453
+ [3.12.1]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.12.0...3.12.1
7415
7454
[3.12.0]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.11.3...3.12.0
7416
7455
[3.11.3]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.11.2...3.11.3
7417
7456
[3.11.2]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.11.1...3.11.2
@@ -7765,4 +7804,3 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
7765
7804
[pear-wloche]: https://pear.php.net/user/wloche
7766
7805
[pear-woellchen]: https://pear.php.net/user/woellchen
7767
7806
[pear-youngian]: https://pear.php.net/user/youngian
7768
-
0 commit comments