Added
- Documentation for the following sniffs:
- Squiz.Commenting.BlockComment
- Thanks to Colin Stewart for the patch.
Changed
- Generic.WhiteSpace.HereNowdocIdentifierSpacing: improved error message text.
- Thanks to Juliette Reinders Folmer for the patch.
- Various housekeeping, including improvements to the tests and documentation.
- Thanks to Rodrigo Primo and Juliette Reinders Folmer for their contributions.
Deprecated
- The
Generic.Functions.CallTimePassByReference
sniff. See #921.- This sniff will be removed in version 4.0.0.
Fixed
- Fixed bug #906 : Fixer: prevent
InvalidArgumentException
s when displaying verbose information.- Thanks to Juliette Reinders Folmer for the patch.
- Fixed bug #907 : Tokenizer/PHP: tokenization of tokens related to union, intersection and DNF types in combination with PHP 8.4 final properties.
- Thanks to Juliette Reinders Folmer for the patch.
- Fixed bug #908 : Tokenizer/PHP: tokenization of
?
in nullable types for readonly properties.- Thanks to Juliette Reinders Folmer for the patch.
- Fixed bug #916 : Tokenizer/PHP:
goto
was not recognized as a terminating statement for a case/default in a switch control structure.- Thanks to Juliette Reinders Folmer for the patch.
Other
- PHP_CodeSniffer 4.0 is coming soon! Interested in a sneak peek ? Join the live stream at any time on April 14, 15, 17 or 18.
Read the open invitation (#924) for all the details.
New Contributors
The PHP_CodeSniffer project is happy to welcome the following new contributors:
@costdev
Statistics
Closed: 0 issues
Merged: 24 pull requests
Follow @phpcs on Mastodon or @PHP_CodeSniffer on X to stay informed.
Please consider funding the PHP_CodeSniffer project. If you already do so: thank you!