@@ -108,6 +108,44 @@ The file documents changes to the PHP_CodeSniffer project.
108
108
109
109
_Nothing yet._
110
110
111
+ ## [3.12.1] - 2025-04-04
112
+
113
+ ### Added
114
+ - Documentation for the following sniffs:
115
+ - Squiz.Commenting.BlockComment
116
+ - Thanks to [Colin Stewart][@costdev] for the patch.
117
+
118
+ ### Changed
119
+ - Generic.WhiteSpace.HereNowdocIdentifierSpacing: improved error message text.
120
+ - Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
121
+ - Various housekeeping, including improvements to the tests and documentation.
122
+ - Thanks to [Rodrigo Primo][@rodrigoprimo] and [Juliette Reinders Folmer][@jrfnl] for their contributions.
123
+
124
+ ### Deprecated
125
+ - The `Generic.Functions.CallTimePassByReference` sniff. See [#921].
126
+ - This sniff will be removed in version 4.0.0.
127
+
128
+ ### Fixed
129
+ - Fixed bug [#906] : Fixer: prevent `InvalidArgumentException`s when displaying verbose information.
130
+ - Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
131
+ - Fixed bug [#907] : Tokenizer/PHP: tokenization of tokens related to union, intersection and DNF types in combination with PHP 8.4 final properties.
132
+ - Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
133
+ - Fixed bug [#908] : Tokenizer/PHP: tokenization of `?` in nullable types for readonly properties.
134
+ - Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
135
+ - Fixed bug [#916] : Tokenizer/PHP: `goto` was not recognized as a terminating statement for a case/default in a switch control structure.
136
+ - Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
137
+
138
+ ### Other
139
+ - 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.
140
+ Read the open invitation ([#924]) for all the details.
141
+
142
+ [#906]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/906
143
+ [#907]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/907
144
+ [#908]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/908
145
+ [#916]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/916
146
+ [#921]: https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/921
147
+ [#924]: https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/924
148
+
111
149
## [3.12.0] - 2025-03-18
112
150
113
151
### Added
@@ -7514,6 +7552,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
7514
7552
-->
7515
7553
7516
7554
[Unreleased]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/master...HEAD
7555
+ [3.12.1]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.12.0...3.12.1
7517
7556
[3.12.0]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.11.3...3.12.0
7518
7557
[3.11.3]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.11.2...3.11.3
7519
7558
[3.11.2]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.11.1...3.11.2
@@ -7867,4 +7906,3 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
7867
7906
[pear-wloche]: https://pear.php.net/user/wloche
7868
7907
[pear-woellchen]: https://pear.php.net/user/woellchen
7869
7908
[pear-youngian]: https://pear.php.net/user/youngian
7870
-
0 commit comments