PHPCSStandards/PHP_CodeSniffer (squizlabs/php_codesniffer)
### [`v3.9.1`](https://togithub.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/CHANGELOG.md#391---2024-03-31)
[Compare Source](https://togithub.com/PHPCSStandards/PHP_CodeSniffer/compare/3.9.0...3.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](https://togithub.com/jonmcp)] and \[Rodrigo Primo]\[[@rodrigoprimo](https://togithub.com/rodrigoprimo)] for the patches.
##### Changed
- The following sniffs have received performance related improvements:
- Generic.CodeAnalysis.UselessOverridingMethod
- Generic.Files.ByteOrderMark
- Thanks to \[Rodrigo Primo]\[[@rodrigoprimo](https://togithub.com/rodrigoprimo)] for the patches.
- Performance improvement for the "Diff" report. Should be most notable for Windows users. [#355]
- Thanks to \[Juliette Reinders Folmer]\[[@jrfnl](https://togithub.com/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](https://togithub.com/jrfnl)] for the patch.
- Various housekeeping, including improvements to the tests and documentation.
- Thanks to \[Jay McPartland]\[[@jonmcp](https://togithub.com/jonmcp)], \[João Pedro Oliveira]\[[@jpoliveira08](https://togithub.com/jpoliveira08)], \[Rodrigo Primo]\[[@rodrigoprimo](https://togithub.com/rodrigoprimo)] and \[Juliette Reinders Folmer]\[[@jrfnl](https://togithub.com/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](https://togithub.com/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](https://togithub.com/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](https://togithub.com/michalbundyra)] for the patch.
- Fixed bug [#404] : Test framework : fixed PHP 8.4 deprecation notice.
- Thanks to \[Juliette Reinders Folmer]\[[@jrfnl](https://togithub.com/jrfnl)] for the patch
[#289]: https://togithub.com/PHPCSStandards/PHP_CodeSniffer/pull/289
[#351]: https://togithub.com/PHPCSStandards/PHP_CodeSniffer/pull/351
[#355]: https://togithub.com/PHPCSStandards/PHP_CodeSniffer/pull/355
[#366]: https://togithub.com/PHPCSStandards/PHP_CodeSniffer/pull/366
[#368]: https://togithub.com/PHPCSStandards/PHP_CodeSniffer/issues/368
[#404]: https://togithub.com/PHPCSStandards/PHP_CodeSniffer/pull/404
Configuration
📅 Schedule: Branch creation - "before 4pm on Wednesday except before 9am on Wednesday" in timezone America/New_York, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
3.9.0
->3.9.1
Release Notes
PHPCSStandards/PHP_CodeSniffer (squizlabs/php_codesniffer)
### [`v3.9.1`](https://togithub.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/CHANGELOG.md#391---2024-03-31) [Compare Source](https://togithub.com/PHPCSStandards/PHP_CodeSniffer/compare/3.9.0...3.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](https://togithub.com/jonmcp)] and \[Rodrigo Primo]\[[@rodrigoprimo](https://togithub.com/rodrigoprimo)] for the patches. ##### Changed - The following sniffs have received performance related improvements: - Generic.CodeAnalysis.UselessOverridingMethod - Generic.Files.ByteOrderMark - Thanks to \[Rodrigo Primo]\[[@rodrigoprimo](https://togithub.com/rodrigoprimo)] for the patches. - Performance improvement for the "Diff" report. Should be most notable for Windows users. [#355] - Thanks to \[Juliette Reinders Folmer]\[[@jrfnl](https://togithub.com/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](https://togithub.com/jrfnl)] for the patch. - Various housekeeping, including improvements to the tests and documentation. - Thanks to \[Jay McPartland]\[[@jonmcp](https://togithub.com/jonmcp)], \[João Pedro Oliveira]\[[@jpoliveira08](https://togithub.com/jpoliveira08)], \[Rodrigo Primo]\[[@rodrigoprimo](https://togithub.com/rodrigoprimo)] and \[Juliette Reinders Folmer]\[[@jrfnl](https://togithub.com/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](https://togithub.com/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](https://togithub.com/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](https://togithub.com/michalbundyra)] for the patch. - Fixed bug [#404] : Test framework : fixed PHP 8.4 deprecation notice. - Thanks to \[Juliette Reinders Folmer]\[[@jrfnl](https://togithub.com/jrfnl)] for the patch [#289]: https://togithub.com/PHPCSStandards/PHP_CodeSniffer/pull/289 [#351]: https://togithub.com/PHPCSStandards/PHP_CodeSniffer/pull/351 [#355]: https://togithub.com/PHPCSStandards/PHP_CodeSniffer/pull/355 [#366]: https://togithub.com/PHPCSStandards/PHP_CodeSniffer/pull/366 [#368]: https://togithub.com/PHPCSStandards/PHP_CodeSniffer/issues/368 [#404]: https://togithub.com/PHPCSStandards/PHP_CodeSniffer/pull/404Configuration
📅 Schedule: Branch creation - "before 4pm on Wednesday except before 9am on Wednesday" in timezone America/New_York, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.