Skip to content

Commit ba05f99

Browse files
authored
Merge pull request #789 from PHPCSStandards/feature/changelog-3.11.3
Changelog for the 3.11.3 release
2 parents 751d4b0 + 2c9a33c commit ba05f99

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

Diff for: CHANGELOG.md

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

77
_Nothing yet._
88

9+
## [3.11.3] - 2025-01-23
10+
11+
### Changed
12+
- Generic.ControlStructures.InlineControlStructure no longer unnecessarily listens for T_SWITCH tokens. [#595]
13+
- Thanks to [Rodrigo Primo][@rodrigoprimo] for the patch.
14+
- Squiz.Functions.FunctionDeclarationArgumentSpacing: improvements to error message for `SpaceBeforeComma` error. [#783]
15+
- The following sniff(s) have received efficiency improvements:
16+
- Squiz.Functions.FunctionDeclarationArgumentSpacing
17+
- Thanks to [Dan Wallis][@fredden] and [Juliette Reinders Folmer][@jrfnl] for the patches.
18+
- Various housekeeping, including improvements to the tests and documentation.
19+
- Thanks to [Michał Bundyra][@michalbundyra], [Rodrigo Primo][@rodrigoprimo] and [Juliette Reinders Folmer][@jrfnl] for their contributions.
20+
21+
### Fixed
22+
- Fixed bug [#620] : Squiz.Functions.FunctionDeclarationArgumentSpacing: newlines after type will now be handled by the fixer. This also prevents a potential fixer conflict.
23+
- Thanks to [Dan Wallis][@fredden] for the patch.
24+
- Fixed bug [#782] : Tokenizer/PHP: prevent an "Undefined array key" notice during live coding for unfinished arrow functions.
25+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
26+
- Fixed bug [#783] : Squiz.Functions.FunctionDeclarationArgumentSpacing: new line after reference token was not flagged nor fixed.
27+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
28+
- Fixed bug [#783] : Squiz.Functions.FunctionDeclarationArgumentSpacing: new line after variadic token was not flagged nor fixed.
29+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
30+
- 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`.
31+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
32+
- 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`.
33+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
34+
- Fixed bug [#783] : Squiz.Functions.FunctionDeclarationArgumentSpacing: fixer for spacing before/after equal sign could inadvertently remove comment.
35+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
36+
- Fixed bug [#783] : Squiz.Functions.FunctionDeclarationArgumentSpacing: fixer will now handle comments between the end of a parameter and a comma more cleanly.
37+
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
38+
- 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.
39+
- Thanks to [Klaus Purer][@klausi] for the patch
40+
41+
[#595]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/595
42+
[#620]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/620
43+
[#782]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/782
44+
[#783]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/783
45+
[#784]: https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/784
46+
947
## [3.11.2] - 2024-12-11
1048

1149
### Changed
@@ -7207,6 +7245,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
72077245
-->
72087246

72097247
[Unreleased]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/master...HEAD
7248+
[3.11.3]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.11.2...3.11.3
72107249
[3.11.2]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.11.1...3.11.2
72117250
[3.11.1]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.11.0...3.11.1
72127251
[3.11.0]: https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.10.3...3.11.0

0 commit comments

Comments
 (0)