Skip to content

Commit 5910049

Browse files
chore(deps): update dependency squizlabs/php_codesniffer to v3.11.3 (#658)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [squizlabs/php_codesniffer](https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer) | `3.11.2` -> `3.11.3` | [![age](https://developer.mend.io/api/mc/badges/age/packagist/squizlabs%2fphp_codesniffer/3.11.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/packagist/squizlabs%2fphp_codesniffer/3.11.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/packagist/squizlabs%2fphp_codesniffer/3.11.2/3.11.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/squizlabs%2fphp_codesniffer/3.11.2/3.11.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>PHPCSStandards/PHP_CodeSniffer (squizlabs/php_codesniffer)</summary> ### [`v3.11.3`](https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/CHANGELOG.md#3113---2025-01-23) [Compare Source](https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.11.2...3.11.3) ##### Changed - Generic.ControlStructures.InlineControlStructure no longer unnecessarily listens for T_SWITCH tokens. [#&#8203;595] - Thanks to \[Rodrigo Primo]\[[@&#8203;rodrigoprimo](https://redirect.github.com/rodrigoprimo)] for the patch. - Squiz.Functions.FunctionDeclarationArgumentSpacing: improvements to error message for `SpaceBeforeComma` error. [#&#8203;783] - The following sniff(s) have received efficiency improvements: - Squiz.Functions.FunctionDeclarationArgumentSpacing - Thanks to \[Dan Wallis]\[[@&#8203;fredden](https://redirect.github.com/fredden)] and \[Juliette Reinders Folmer]\[[@&#8203;jrfnl](https://redirect.github.com/jrfnl)] for the patches. - Various housekeeping, including improvements to the tests and documentation. - Thanks to \[Michał Bundyra]\[[@&#8203;michalbundyra](https://redirect.github.com/michalbundyra)], \[Rodrigo Primo]\[[@&#8203;rodrigoprimo](https://redirect.github.com/rodrigoprimo)] and \[Juliette Reinders Folmer]\[[@&#8203;jrfnl](https://redirect.github.com/jrfnl)] for their contributions. ##### Fixed - Fixed bug [#&#8203;620] : Squiz.Functions.FunctionDeclarationArgumentSpacing: newlines after type will now be handled by the fixer. This also prevents a potential fixer conflict. - Thanks to \[Dan Wallis]\[[@&#8203;fredden](https://redirect.github.com/fredden)] for the patch. - Fixed bug [#&#8203;782] : Tokenizer/PHP: prevent an "Undefined array key" notice during live coding for unfinished arrow functions. - Thanks to \[Juliette Reinders Folmer]\[[@&#8203;jrfnl](https://redirect.github.com/jrfnl)] for the patch. - Fixed bug [#&#8203;783] : Squiz.Functions.FunctionDeclarationArgumentSpacing: new line after reference token was not flagged nor fixed. - Thanks to \[Juliette Reinders Folmer]\[[@&#8203;jrfnl](https://redirect.github.com/jrfnl)] for the patch. - Fixed bug [#&#8203;783] : Squiz.Functions.FunctionDeclarationArgumentSpacing: new line after variadic token was not flagged nor fixed. - Thanks to \[Juliette Reinders Folmer]\[[@&#8203;jrfnl](https://redirect.github.com/jrfnl)] for the patch. - Fixed bug [#&#8203;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`. - Thanks to \[Juliette Reinders Folmer]\[[@&#8203;jrfnl](https://redirect.github.com/jrfnl)] for the patch. - Fixed bug [#&#8203;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`. - Thanks to \[Juliette Reinders Folmer]\[[@&#8203;jrfnl](https://redirect.github.com/jrfnl)] for the patch. - Fixed bug [#&#8203;783] : Squiz.Functions.FunctionDeclarationArgumentSpacing: fixer for spacing before/after equal sign could inadvertently remove comment. - Thanks to \[Juliette Reinders Folmer]\[[@&#8203;jrfnl](https://redirect.github.com/jrfnl)] for the patch. - Fixed bug [#&#8203;783] : Squiz.Functions.FunctionDeclarationArgumentSpacing: fixer will now handle comments between the end of a parameter and a comma more cleanly. - Thanks to \[Juliette Reinders Folmer]\[[@&#8203;jrfnl](https://redirect.github.com/jrfnl)] for the patch. - Fixed bug [#&#8203;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. - Thanks to \[Klaus Purer]\[[@&#8203;klausi](https://redirect.github.com/klausi)] for the patch [#&#8203;595]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/595 [#&#8203;620]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/620 [#&#8203;782]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/782 [#&#8203;783]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/783 [#&#8203;784]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/784 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/line/line-bot-sdk-php). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMjUuMSIsInVwZGF0ZWRJblZlciI6IjM5LjEyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImRlcGVuZGVuY3kgdXBncmFkZSJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 4ef9fb7 commit 5910049

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
},
3939
"require-dev": {
4040
"phpmd/phpmd": "2.15.0",
41-
"squizlabs/php_codesniffer": "3.11.2",
41+
"squizlabs/php_codesniffer": "3.11.3",
4242
"orchestra/testbench": "*",
4343
"guzzlehttp/guzzle": "^7.3",
4444
"guzzlehttp/psr7": "^1.7 || ^2.0",

0 commit comments

Comments
 (0)