Update dependency squizlabs/php_codesniffer to v3.9.1
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
squizlabs/php_codesniffer | require-dev | patch |
3.9.0 -> 3.9.1
|
Release Notes
PHPCSStandards/PHP_CodeSniffer (squizlabs/php_codesniffer)
v3.9.1
Added
- Documentation for the following sniffs:
- Generic.PHP.RequireStrictTypes
- Squiz.WhiteSpace.MemberVarSpacing
- Squiz.WhiteSpace.ScopeClosingBrace
- Squiz.WhiteSpace.SuperfluousWhitespace
- Thanks to [Jay McPartland][@jonmcp] and [Rodrigo Primo][@rodrigoprimo] for the patches.
Changed
- The following sniffs have received performance related improvements:
- Generic.CodeAnalysis.UselessOverridingMethod
- Generic.Files.ByteOrderMark
- Thanks to [Rodrigo Primo][@rodrigoprimo] for the patches.
- Performance improvement for the "Diff" report. Should be most notable for Windows users. #355
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
- The test suite has received some performance improvements. Should be most notable contributors using Windows. #351
- External standards with sniff tests using the PHP_CodeSniffer native test framework will also benefit from these changes.
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch.
- Various housekeeping, including improvements to the tests and documentation.
- Thanks to [Jay McPartland][@jonmcp], [João Pedro Oliveira][@jpoliveira08], [Rodrigo Primo][@rodrigoprimo] and [Juliette Reinders Folmer][@jrfnl] for their contributions.
Fixed
- Fixed bug #289 : Squiz.WhiteSpace.OperatorSpacing and PSR12.Operators.OperatorSpacing : improved fixer conflict protection by more strenuously avoiding handling operators in declare statements.
- Thanks to [Dan Wallis][@fredden] for the patch.
- Fixed bug #366 : Generic.CodeAnalysis.UselessOverridingMethod : prevent false negative when the declared method name and the called method name do not use the same case.
- Thanks to [Rodrigo Primo][@rodrigoprimo] for the patch.
- Fixed bug #368 : Squiz.Arrays.ArrayDeclaration fixer did not handle static closures correctly when moving array items to their own line.
- Thanks to [Michał Bundyra][@michalbundyra] for the patch.
- Fixed bug #404 : Test framework : fixed PHP 8.4 deprecation notice.
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.