Skip to content

Commit b8e2ab3

Browse files
committed
Changelog for the 3.11.3 release
1 parent 2706b7a commit b8e2ab3

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,44 @@ The file documents changes to the PHP_CodeSniffer project.
108108

109109
_Nothing yet._
110110

111+
## [3.11.3] - 2025-01-23
112+
113+
### Changed
114+
- Generic.ControlStructures.InlineControlStructure no longer unnecessarily listens for T_SWITCH tokens. [#595]
115+
- Thanks to [Rodrigo Primo][@rodrigoprimo] for the patch.
116+
- Squiz.Functions.FunctionDeclarationArgumentSpacing: improvements to error message for `SpaceBeforeComma` error. [#783]
117+
- The following sniff(s) have received efficiency improvements:
118+
- Squiz.Functions.FunctionDeclarationArgumentSpacing
119+
- Thanks to [Dan Wallis][@fredden] and [Juliette Reinders Folmer][@jrfnl] for the patches.
120+
- Various housekeeping, including improvements to the tests and documentation.
121+
- Thanks to [Michał Bundyra][@michalbundyra], [Rodrigo Primo][@rodrigoprimo] and [Juliette Reinders Folmer][@jrfnl] for their contributions.
122+
123+
### Fixed
124+
- Fixed bug [#620] : Squiz.Functions.FunctionDeclarationArgumentSpacing: newlines after type will now be handled by the fixer. This also prevents a potential fixer conflict.
125+
- Thanks to [Dan Wallis][@fredden] for the patch.
126+
- Fixed bug [#782] : Tokenizer/PHP: prevent an "Undefined array key" notice during live coding for unfinished arrow functions.
127+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
128+
- Fixed bug [#783] : Squiz.Functions.FunctionDeclarationArgumentSpacing: new line after reference token was not flagged nor fixed.
129+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
130+
- Fixed bug [#783] : Squiz.Functions.FunctionDeclarationArgumentSpacing: new line after variadic token was not flagged nor fixed.
131+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
132+
- Fixed bug [#783] : Squiz.Functions.FunctionDeclarationArgumentSpacing: new line before/after the equal sign for default values was not flagged nor fixed when `equalsSpacing` was set to `0`.
133+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
134+
- Fixed bug [#783] : Squiz.Functions.FunctionDeclarationArgumentSpacing: fixer conflict when a new line is found before/after the equal sign for default values and `equalsSpacing` was set to `1`.
135+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
136+
- Fixed bug [#783] : Squiz.Functions.FunctionDeclarationArgumentSpacing: fixer for spacing before/after equal sign could inadvertently remove comment.
137+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
138+
- Fixed bug [#783] : Squiz.Functions.FunctionDeclarationArgumentSpacing: fixer will now handle comments between the end of a parameter and a comma more cleanly.
139+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
140+
- Fixed bug [#784] : Squiz.WhiteSpace.FunctionSpacing: prevent fixer conflict when a multi-line docblock would start on the same line as the function close curly being examined.
141+
- Thanks to [Klaus Purer][@klausi] for the patch
142+
143+
[#595]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/595
144+
[#620]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/620
145+
[#782]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/782
146+
[#783]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/783
147+
[#784]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/784
148+
111149
## [3.11.2] - 2024-12-11
112150

113151
### Changed
@@ -7309,6 +7347,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
73097347
-->
73107348

73117349
[Unreleased]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/master...HEAD
7350+
[3.11.3]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.11.2...3.11.3
73127351
[3.11.2]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.11.1...3.11.2
73137352
[3.11.1]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.11.0...3.11.1
73147353
[3.11.0]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.10.3...3.11.0

0 commit comments

Comments
 (0)