Skip to content

Commit

Permalink
chore(deps): update dependency squizlabs/php_codesniffer to v3.10.2 (#…
Browse files Browse the repository at this point in the history
…601)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[squizlabs/php_codesniffer](https://togithub.com/PHPCSStandards/PHP_CodeSniffer)
| `3.10.1` -> `3.10.2` |
[![age](https://developer.mend.io/api/mc/badges/age/packagist/squizlabs%2fphp_codesniffer/3.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/packagist/squizlabs%2fphp_codesniffer/3.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/packagist/squizlabs%2fphp_codesniffer/3.10.1/3.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/squizlabs%2fphp_codesniffer/3.10.1/3.10.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>PHPCSStandards/PHP_CodeSniffer
(squizlabs/php_codesniffer)</summary>

###
[`v3.10.2`](https://togithub.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/CHANGELOG.md#3102---2024-07-22)

[Compare
Source](https://togithub.com/PHPCSStandards/PHP_CodeSniffer/compare/3.10.1...3.10.2)

##### Changed

-   The following sniff(s) have received efficiency improvements:
    -   Generic.Functions.FunctionCallArgumentSpacing
- Thanks to \[Juliette Reinders
Folmer]\[[@&#8203;jrfnl](https://togithub.com/jrfnl)] for the patch.
- The array format of the information passed to the
`Reports::generateFileReport()` method is now documented in the Reports
interface. [#&#8203;523]
- Thanks to \[Juliette Reinders
Folmer]\[[@&#8203;jrfnl](https://togithub.com/jrfnl)] for the patch.
- Various housekeeping, including improvements to the tests and
documentation.
- Thanks to \[Bill
Ruddock]\[[@&#8203;biinari](https://togithub.com/biinari)], \[Dan
Wallis]\[[@&#8203;fredden](https://togithub.com/fredden)], \[Klaus
Purer]\[[@&#8203;klausi](https://togithub.com/klausi)], \[Rodrigo
Primo]\[[@&#8203;rodrigoprimo](https://togithub.com/rodrigoprimo)] and
\[Juliette Reinders
Folmer]\[[@&#8203;jrfnl](https://togithub.com/jrfnl)] for their
contributions.

##### Fixed

- Fixed bug [#&#8203;513] :
Generic.Functions.FunctionCallArgumentSpacing did not ignore the body of
a match expressions passed as a function argument, which could lead to
false positives.
- Thanks to \[Juliette Reinders
Folmer]\[[@&#8203;jrfnl](https://togithub.com/jrfnl)] for the patch
- Fixed bug [#&#8203;533] : Generic.WhiteSpace.DisallowTabIndent: tab
indentation for heredoc/nowdoc closers will no longer be auto-fixed to
prevent parse errors. The issue will still be reported.
- The error code for heredoc/nowdoc indentation using tabs has been made
more specific - `TabsUsedHeredocCloser` - to allow for selectively
excluding the indentation check for heredoc/nowdoc closers.
- Thanks to \[Juliette Reinders
Folmer]\[[@&#8203;jrfnl](https://togithub.com/jrfnl)] for the patch
- Fixed bug [#&#8203;534] : Generic.WhiteSpace.DisallowSpaceIndent did
not report on space indentation for PHP 7.3 flexible heredoc/nowdoc
closers.
- Closers using space indentation will be reported with a dedicated
error code: `SpacesUsedHeredocCloser`.
- Thanks to \[Juliette Reinders
Folmer]\[[@&#8203;jrfnl](https://togithub.com/jrfnl)] for the patch
- Fixed bug [#&#8203;537] : Squiz.PHP.DisallowMultipleAssignments false
positive for list assignments at the start of a new PHP block after an
embedded PHP statement.
- Thanks to \[Juliette Reinders
Folmer]\[[@&#8203;jrfnl](https://togithub.com/jrfnl)] for the patch
- Fixed bug [#&#8203;551] : Squiz.PHP.DisallowMultipleAssignments
prevent false positive for function parameters during live coding.
- Thanks to \[Rodrigo
Primo]\[[@&#8203;rodrigoprimo](https://togithub.com/rodrigoprimo)] for
the patch.
- Fixed bug [#&#8203;554] : Generic.CodeAnalysis.UselessOverridingMethod
edge case false negative when the call to the parent method would end on
a PHP close tag.
- Thanks to \[Juliette Reinders
Folmer]\[[@&#8203;jrfnl](https://togithub.com/jrfnl)] for the patch
- Fixed bug [#&#8203;555] : Squiz.Classes.SelfMemberReference edge case
false negative when the namespace declaration would end on a PHP close
tag.
- Thanks to \[Juliette Reinders
Folmer]\[[@&#8203;jrfnl](https://togithub.com/jrfnl)] for the patch

[#&#8203;513]:
https://togithub.com/PHPCSStandards/PHP_CodeSniffer/pull/513

[#&#8203;523]:
https://togithub.com/PHPCSStandards/PHP_CodeSniffer/pull/523

[#&#8203;533]:
https://togithub.com/PHPCSStandards/PHP_CodeSniffer/pull/533

[#&#8203;534]:
https://togithub.com/PHPCSStandards/PHP_CodeSniffer/pull/534

[#&#8203;537]:
https://togithub.com/PHPCSStandards/PHP_CodeSniffer/issues/537

[#&#8203;551]:
https://togithub.com/PHPCSStandards/PHP_CodeSniffer/issues/551

[#&#8203;554]:
https://togithub.com/PHPCSStandards/PHP_CodeSniffer/pull/554

[#&#8203;555]:
https://togithub.com/PHPCSStandards/PHP_CodeSniffer/pull/555

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/line/line-bot-sdk-php).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzguMCIsInVwZGF0ZWRJblZlciI6IjM3LjQzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImRlcGVuZGVuY3kgdXBncmFkZSJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Jul 22, 2024
1 parent 71a2531 commit 784a455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"require-dev": {
"phpmd/phpmd": "2.15.0",
"squizlabs/php_codesniffer": "3.10.1",
"squizlabs/php_codesniffer": "3.10.2",
"orchestra/testbench": "*",
"guzzlehttp/guzzle": "^7.3",
"guzzlehttp/psr7": "^1.7 || ^2.0",
Expand Down

0 comments on commit 784a455

Please sign in to comment.