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
+31
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,36 @@ The file documents changes to the PHP_CodeSniffer project.
6
6
7
7
_Nothing yet._
8
8
9
+
## [3.10.1] - 2024-05-22
10
+
11
+
### Added
12
+
- Documentation for the following sniffs:
13
+
- Generic.Commenting.DocComment
14
+
- Thanks to [Rodrigo Primo][@rodrigoprimo] for the patch.
15
+
16
+
### Changed
17
+
- The following have received efficiency improvements:
18
+
- Type handling in the PHP Tokenizer
19
+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
20
+
- Various housekeeping, including improvements to the tests and documentation.
21
+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for their contributions.
22
+
23
+
### Fixed
24
+
- Fixed bug [#110], [#437], [#475]: `File::findStartOfStatement()`: the start of statement/expression determination for tokens in parentheses/short array brackets/others scopes, nested within match expressions, was incorrect in most cases.
25
+
The trickle down effect of the bug fixes made to the `File::findStartOfStatement()` method, is that the Generic.WhiteSpace.ScopeIndent and the PEAR.WhiteSpace.ScopeIndent sniffs should now be able to correctly determine and fix the indent for match expressions containing nested expressions.
26
+
These fixes also fix an issue with the `Squiz.Arrays.ArrayDeclaration` sniff and possibly other, unreported bugs.
27
+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
28
+
- Fixed bug [#504]: The tokenizer could inadvertently mistake the last parameter in a function call using named arguments for a DNF type.
29
+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
30
+
- Fixed bug [#508]: Tokenizer/PHP: extra hardening against handling parse errors in the type handling layer.
31
+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
0 commit comments