Skip to content

Commit fb10ab2

Browse files
chore(deps): update dependency squizlabs/php_codesniffer to v3.13.1 (#712)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [squizlabs/php_codesniffer](https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer) | `3.13.0` -> `3.13.1` | [![age](https://developer.mend.io/api/mc/badges/age/packagist/squizlabs%2fphp_codesniffer/3.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/packagist/squizlabs%2fphp_codesniffer/3.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/packagist/squizlabs%2fphp_codesniffer/3.13.0/3.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/squizlabs%2fphp_codesniffer/3.13.0/3.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>PHPCSStandards/PHP_CodeSniffer (squizlabs/php_codesniffer)</summary> ### [`v3.13.1`](https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/CHANGELOG.md#3131---2025-06-12) [Compare Source](https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.13.0...3.13.1) ##### Added - Added support for PHP 8.4 properties with asymmetric visibility to File::getMemberProperties() through a new `set_scope` array index in the return value. [#&#8203;1116] - Thanks to \[Juliette Reinders Folmer]\[[@&#8203;jrfnl](https://redirect.github.com/jrfnl)] for the patches. - Added support for PHP 8.4 (constructor promoted) properties with asymmetric visibility to File::getMethodParameters() through new `set_visibility` and `set_visibility_token` array indexes in the return value. [#&#8203;1116] - Thanks to \[Juliette Reinders Folmer]\[[@&#8203;jrfnl](https://redirect.github.com/jrfnl)] for the patches. - Added support for PHP 8.4 asymmetric visibility modifiers to the following sniffs: - Generic.PHP.LowerCaseKeyword [#&#8203;1117] - PEAR.NamingConventions.ValidVariableName [#&#8203;1118] - PSR2.Classes.PropertyDeclaration [#&#8203;1119] - Squiz.Commenting.BlockComment [#&#8203;1120] - Squiz.Commenting.DocCommentAlignment [#&#8203;1120] - Squiz.Commenting.VariableComment [#&#8203;1120] - Squiz.Functions.FunctionDeclarationArgumentSpacing [#&#8203;1121] - Squiz.Scope.MemberVarScope [#&#8203;1122] - Squiz.WhiteSpace.MemberVarSpacing [#&#8203;1123] - Squiz.WhiteSpace.ScopeKeywordSpacing [#&#8203;1124] - Thanks to \[Juliette Reinders Folmer]\[[@&#8203;jrfnl](https://redirect.github.com/jrfnl)] for the patches. ##### Changed - The PSR2.Classes.PropertyDeclaration will now check that a set-visibility modifier keyword is placed after a potential general visibility keyword. [#&#8203;1119] - Errors will be reported via a new `AvizKeywordOrder` error code. - Thanks to \[Juliette Reinders Folmer]\[[@&#8203;jrfnl](https://redirect.github.com/jrfnl)] for the patch. - The Squiz.Functions.FunctionDeclarationArgumentSpacing will now check spacing after a set-visibility modifier keyword. [#&#8203;1121] - Errors will be reported via a new `SpacingAfterSetVisbility` error code. - Thanks to \[Juliette Reinders Folmer]\[[@&#8203;jrfnl](https://redirect.github.com/jrfnl)] for the patch. - The Squiz.Scope.MemberVarScope will now flag missing "read" visibility, when "write" visibility is set, under a separate error code `AsymReadMissing`. [#&#8203;1122] - Thanks to \[Juliette Reinders Folmer]\[[@&#8203;jrfnl](https://redirect.github.com/jrfnl)] for the patch. - The documentation for the following sniffs has been improved: - PEAR.Classes.ClassDeclaration - Squiz.WhiteSpace.FunctionOpeningBraceSpace - Thanks to \[Brian Dunne]\[[@&#8203;braindawg](https://redirect.github.com/braindawg)] and \[Rodrigo Primo]\[[@&#8203;rodrigoprimo](https://redirect.github.com/rodrigoprimo)] for the patches. - Various housekeeping, including improvements to the tests and documentation. - Thanks to \[Dan Wallis]\[[@&#8203;fredden](https://redirect.github.com/fredden)], \[Rodrigo Primo]\[[@&#8203;rodrigoprimo](https://redirect.github.com/rodrigoprimo)] and \[Juliette Reinders Folmer]\[[@&#8203;jrfnl](https://redirect.github.com/jrfnl)] for their contributions. ##### Other - The latest PHP_CodeSniffer XSD file is now available via the following permalink: <https://schema.phpcodesniffer.com/phpcs.xsd>. [#&#8203;1094] Older XSD files can be referenced via permalinks based on their minor: `https://schema.phpcodesniffer.com/#.#/phpcs.xsd`. [#&#8203;1094]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/1094 [#&#8203;1116]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/1116 [#&#8203;1117]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/1117 [#&#8203;1118]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/1118 [#&#8203;1119]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/1119 [#&#8203;1120]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/1120 [#&#8203;1121]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/1121 [#&#8203;1122]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/1122 [#&#8203;1123]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/1123 [#&#8203;1124]: https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/1124 </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:eyJjcmVhdGVkSW5WZXIiOiI0MC41MC4wIiwidXBkYXRlZEluVmVyIjoiNDAuNTAuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJkZXBlbmRlbmN5IHVwZ3JhZGUiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent e260645 commit fb10ab2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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.13.0",
41+
"squizlabs/php_codesniffer": "3.13.1",
4242
"orchestra/testbench": "*",
4343
"guzzlehttp/guzzle": "^7.3",
4444
"guzzlehttp/psr7": "^1.7 || ^2.0",

0 commit comments

Comments
 (0)