Skip to content

Commit

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

This PR contains the following updates:

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

---

### Release Notes

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

###
[`v3.11.2`](https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/CHANGELOG.md#3112---2024-12-11)

[Compare
Source](https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.11.1...3.11.2)

##### Changed

- Generators/HTML + Markdown: the output will now be empty (no page
header/footer) when there are no docs to display. [#&#8203;687]
- This is in line with the Text Generator which already didn't produce
output if there are no docs.
- Thanks to \[Juliette Reinders
Folmer]\[[@&#8203;jrfnl](https://redirect.github.com/jrfnl)] for the
patch.
- Generators/HTML: only display a Table of Contents when there is more
than one sniff with documentation. [#&#8203;697]
- Thanks to \[Juliette Reinders
Folmer]\[[@&#8203;jrfnl](https://redirect.github.com/jrfnl)] for the
patch.
- Generators/HTML: improved handling of line breaks in `<standard>`
blocks. [#&#8203;723]
- Thanks to \[Juliette Reinders
Folmer]\[[@&#8203;jrfnl](https://redirect.github.com/jrfnl)] for the
patch.
- Generators/Markdown: improved compatibility with the variety of
available markdown parsers. [#&#8203;722]
- Thanks to \[Juliette Reinders
Folmer]\[[@&#8203;jrfnl](https://redirect.github.com/jrfnl)] for the
patch.
- Generators/Markdown: improved handling of line breaks in `<standard>`
blocks. [#&#8203;737]
- This prevents additional paragraphs from being displayed as code
blocks.
- Thanks to \[Juliette Reinders
Folmer]\[[@&#8203;jrfnl](https://redirect.github.com/jrfnl)] for the
patch.
- Generic.NamingConventions.UpperCaseConstantName: the exact token
containing the non-uppercase constant name will now be identified with
more accuracy. [#&#8203;665]
- Thanks to \[Rodrigo
Primo]\[[@&#8203;rodrigoprimo](https://redirect.github.com/rodrigoprimo)]
for the patch.
- Generic.Functions.OpeningFunctionBraceKernighanRitchie: minor
improvement to the error message wording. [#&#8203;736]
- Thanks to \[Juliette Reinders
Folmer]\[[@&#8203;jrfnl](https://redirect.github.com/jrfnl)] for the
patch.
- Various housekeeping, including improvements to the tests and
documentation.
- Thanks to \[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;527] : Squiz.Arrays.ArrayDeclaration: short lists
within a foreach condition should be ignored.
- Thanks to \[Rodrigo
Primo]\[[@&#8203;rodrigoprimo](https://redirect.github.com/rodrigoprimo)]
for the patch.
- Fixed bug [#&#8203;665] :
Generic.NamingConventions.UpperCaseConstantName: false positives and
false negatives when code uses unconventional spacing and comments when
calling `define()`.
- Thanks to \[Rodrigo
Primo]\[[@&#8203;rodrigoprimo](https://redirect.github.com/rodrigoprimo)]
for the patch.
- Fixed bug [#&#8203;665] :
Generic.NamingConventions.UpperCaseConstantName: false positive when a
constant named `DEFINE` is encountered.
- Thanks to \[Rodrigo
Primo]\[[@&#8203;rodrigoprimo](https://redirect.github.com/rodrigoprimo)]
for the patch.
- Fixed bug [#&#8203;665] :
Generic.NamingConventions.UpperCaseConstantName: false positive for
attribute class called `define`.
- Thanks to \[Rodrigo
Primo]\[[@&#8203;rodrigoprimo](https://redirect.github.com/rodrigoprimo)]
for the patch.
- Fixed bug [#&#8203;665] :
Generic.NamingConventions.UpperCaseConstantName: false positive when
handling the instantiation of a class named `define`.
- Thanks to \[Rodrigo
Primo]\[[@&#8203;rodrigoprimo](https://redirect.github.com/rodrigoprimo)]
for the patch.
- Fixed bug [#&#8203;688] : Generators/Markdown could leave
error_reporting in an incorrect state.
- Thanks to \[Juliette Reinders
Folmer]\[[@&#8203;jrfnl](https://redirect.github.com/jrfnl)] for the
patch.
- Fixed bug [#&#8203;698] : Generators/Markdown : link in the
documentation footer would not parse as a link.
- Thanks to \[Juliette Reinders
Folmer]\[[@&#8203;jrfnl](https://redirect.github.com/jrfnl)] for the
patch.
- Fixed bug [#&#8203;738] : Generators/Text: stray blank lines after
code sample titles.
- Thanks to \[Juliette Reinders
Folmer]\[[@&#8203;jrfnl](https://redirect.github.com/jrfnl)] for the
patch.
- Fixed bug [#&#8203;739] : Generators/HTML + Markdown: multi-space
whitespace within a code sample title was folded into a single space.
- Thanks to \[Juliette Reinders
Folmer]\[[@&#8203;jrfnl](https://redirect.github.com/jrfnl)] for the
patch.

[#&#8203;527]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/issues/527

[#&#8203;665]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/665

[#&#8203;687]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/687

[#&#8203;688]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/688

[#&#8203;697]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/697

[#&#8203;698]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/698

[#&#8203;722]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/722

[#&#8203;723]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/723

[#&#8203;736]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/736

[#&#8203;737]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/737

[#&#8203;738]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/738

[#&#8203;739]:
https://redirect.github.com/PHPCSStandards/PHP_CodeSniffer/pull/739

</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:eyJjcmVhdGVkSW5WZXIiOiIzOS41OC4xIiwidXBkYXRlZEluVmVyIjoiMzkuNTguMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJkZXBlbmRlbmN5IHVwZ3JhZGUiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Dec 11, 2024
1 parent 0fdbd84 commit 5db381c
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.11.1",
"squizlabs/php_codesniffer": "3.11.2",
"orchestra/testbench": "*",
"guzzlehttp/guzzle": "^7.3",
"guzzlehttp/psr7": "^1.7 || ^2.0",
Expand Down

0 comments on commit 5db381c

Please sign in to comment.