3.10.1 - 2024-05-22 #511
Closed
jrfnl
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Added
Changed
Fixed
match
-es #110, Undefined array key in Generic.WhiteSpace.ScopeIndent #437, Squiz.Arrays.ArrayDeclaration.DoubleArrowNotAligned doesn't work inside match #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.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.These fixes also fix an issue with the
Squiz.Arrays.ArrayDeclaration
sniff and possibly other, unreported bugs.Statistics
Closed: 5 issues
Merged: 7 pull requests
If you like to stay informed about releases and more, follow @phpcs on Mastodon or @PHP_CodeSniffer on X.
Full Changelog: 3.10.0...3.10.1
This discussion was created from the release 3.10.1 - 2024-05-22.
Beta Was this translation helpful? Give feedback.
All reactions