Skip to content

Commit c9525a8

Browse files
committed
Changelog for the 3.10.1 release
1 parent 3361ff2 commit c9525a8

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

CHANGELOG.md

+31
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,36 @@ The file documents changes to the PHP_CodeSniffer project.
66

77
_Nothing yet._
88

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
32+
33+
[#110]: https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/110
34+
[#437]: https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/437
35+
[#475]: https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/475
36+
[#504]: https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/504
37+
[#508]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/508
38+
939
## [3.10.0] - 2024-05-20
1040

1141
### Added
@@ -6934,6 +6964,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
69346964
-->
69356965

69366966
[Unreleased]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/master...HEAD
6967+
[3.10.1]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.10.0...3.10.1
69376968
[3.10.0]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.9.2...3.10.0
69386969
[3.9.2]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.9.1...3.9.2
69396970
[3.9.1]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.9.0...3.9.1

0 commit comments

Comments
 (0)