Update dependency squizlabs/php_codesniffer to v3.8.1
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
squizlabs/php_codesniffer | require-dev | patch |
3.8.0 -> 3.8.1
|
Release Notes
PHPCSStandards/PHP_CodeSniffer (squizlabs/php_codesniffer)
v3.8.1
Added
- Documentation has been added for the following sniffs:
- Generic.CodeAnalysis.EmptyPHPStatement
- Generic.Formatting.SpaceBeforeCast
- Generic.PHP.Syntax
- Generic.WhiteSpace.LanguageConstructSpacing
- PSR12.Classes.ClosingBrace
- PSR12.Classes.OpeningBraceSpace
- PSR12.ControlStructures.BooleanOperatorPlacement
- PSR12.Files.OpenTag
- Thanks to [Rodrigo Primo][@rodrigoprimo] and [Denis Žoljom][@dingo-d] for the patches
Changed
- GitHub releases will now always only contain unversioned release assets (PHARS + asc files) (same as it previously was in the squizlabs repo). See #205 for context.
- Thanks to [Shivam Mathur][@shivammathur] for opening a discussion about this
- Various housekeeping, includes improvements to the tests and documentation
- Thanks to [Dan Wallis][@fredden], [Lucas Hoffmann][@lucc], [Rodrigo Primo][@rodrigoprimo] and [Juliette Reinders Folmer][@jrfnl] for their contributions
Fixed
- Fixed bug #124 : Report Full : avoid unnecessarily wrapping lines when
-s
is used- Thanks to [Brad Jorsch][@anomiex] for the patch
- Fixed bug #124 : Report Full : fix incorrect bolding of pipes when
-s
is used and messages wraps- Thanks to [Brad Jorsch][@anomiex] for the patch
- Fixed bug #150 : Squiz.WhiteSpace.KeywordSpacing : prevent a PHP notice when run during live coding
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
- Fixed bug #154 : Report Full : delimiter line calculation could go wonky on wide screens when a report contains multi-line messages
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
- Fixed bug #178 : Squiz.Commenting.VariableComment : docblocks were incorrectly being flagged as missing when a property declaration used PHP native union/intersection type declarations
- Thanks to [Ferdinand Kuhl][@fcool] for the patch
- Fixed bug #211 : Squiz.Commenting.VariableComment : docblocks were incorrectly being flagged as missing when a property declaration used PHP 8.2+ stand-alone
true
/false
/null
type declarations- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
- Fixed bug #211 : Squiz.Commenting.VariableComment : docblocks were incorrectly being flagged as missing when a property declaration used PHP native
parent
,self
or a namespace relative class name type declaration- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
- Fixed bug #226 : Generic.CodeAnalysis.ForLoopShouldBeWhileLoop : prevent a potential PHP 8.3 deprecation notice during live coding
- Thanks to [Rodrigo Primo][@rodrigoprimo] for the patch
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.