Skip to content

Commit

Permalink
tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from 3.…
Browse files Browse the repository at this point in the history
…65.0 to 3.66.0 in /tools/php-cs-fixer (#204)

Updates the requirements on
[friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer)
to permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases">friendsofphp/php-cs-fixer's
releases</a>.</em></p>
<blockquote>
<h2>v3.66.0</h2>
<h2>What's Changed</h2>
<ul>
<li>feat: <code>UseArrowFunctionsFixer</code> - support multiline
statements by <a
href="https://github.com/kubawerlos"><code>@​kubawerlos</code></a> in <a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8311">PHP-CS-Fixer/PHP-CS-Fixer#8311</a></li>
<li>feat: PhpUnitTestCaseStaticMethodCallsFixer - cover PHPUnit v11.5
methods by <a
href="https://github.com/keradus"><code>@​keradus</code></a> in <a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8314">PHP-CS-Fixer/PHP-CS-Fixer#8314</a></li>
<li>feat: Tokenizer - initial support for PHP 8.4 property hooks by <a
href="https://github.com/keradus"><code>@​keradus</code></a> in <a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8312">PHP-CS-Fixer/PHP-CS-Fixer#8312</a></li>
<li>feat: <code>PhpUnitTestCaseStaticMethodCallsFixer</code> - support
createStub by <a
href="https://github.com/d-s-codappix"><code>@​d-s-codappix</code></a>
in <a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8319">PHP-CS-Fixer/PHP-CS-Fixer#8319</a></li>
<li>feat: <code>PhpUnitTestCaseStaticMethodCallsFixer</code> - make sure
all static protected methods are handled by <a
href="https://github.com/kubawerlos"><code>@​kubawerlos</code></a> in <a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8327">PHP-CS-Fixer/PHP-CS-Fixer#8327</a></li>
<li>fix: <code>NullableTypeDeclarationFixer</code> - do not break
multi-line declaration by <a
href="https://github.com/kubawerlos"><code>@​kubawerlos</code></a> in <a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8331">PHP-CS-Fixer/PHP-CS-Fixer#8331</a></li>
<li>test: <code>CiConfigurationTest</code> - drop not needed condition,
logic is checked in upcoming assertion by <a
href="https://github.com/keradus"><code>@​keradus</code></a> in <a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8303">PHP-CS-Fixer/PHP-CS-Fixer#8303</a></li>
<li>chore: DotsOutput - more const, better typing by <a
href="https://github.com/keradus"><code>@​keradus</code></a> in <a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8318">PHP-CS-Fixer/PHP-CS-Fixer#8318</a></li>
<li>chore: more const, better typing by <a
href="https://github.com/keradus"><code>@​keradus</code></a> in <a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8320">PHP-CS-Fixer/PHP-CS-Fixer#8320</a></li>
<li>chore: upgrade PHPStan by <a
href="https://github.com/keradus"><code>@​keradus</code></a> in <a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8321">PHP-CS-Fixer/PHP-CS-Fixer#8321</a></li>
<li>chore: temporarily prevent symfony/process 7.2+ by <a
href="https://github.com/keradus"><code>@​keradus</code></a> in <a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8322">PHP-CS-Fixer/PHP-CS-Fixer#8322</a></li>
<li>chore: add more typehints by <a
href="https://github.com/keradus"><code>@​keradus</code></a> in <a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8325">PHP-CS-Fixer/PHP-CS-Fixer#8325</a></li>
<li>chore: mark classes as readonly by <a
href="https://github.com/keradus"><code>@​keradus</code></a> in <a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8275">PHP-CS-Fixer/PHP-CS-Fixer#8275</a></li>
<li>chore: Tokens - simplify (un)registerFoundToken types by <a
href="https://github.com/keradus"><code>@​keradus</code></a> in <a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8328">PHP-CS-Fixer/PHP-CS-Fixer#8328</a></li>
<li>chore: <code>BraceTransformer</code> - don't touch curly index
braces since 8.4, as it's not a valid syntax anymore by <a
href="https://github.com/keradus"><code>@​keradus</code></a> in <a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8313">PHP-CS-Fixer/PHP-CS-Fixer#8313</a></li>
<li>docs: Tokens - fix docs by <a
href="https://github.com/keradus"><code>@​keradus</code></a> in <a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8332">PHP-CS-Fixer/PHP-CS-Fixer#8332</a></li>
<li>CI: enable phpdoc_to_property_type on php-lowest by <a
href="https://github.com/keradus"><code>@​keradus</code></a> in <a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8324">PHP-CS-Fixer/PHP-CS-Fixer#8324</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/d-s-codappix"><code>@​d-s-codappix</code></a>
made their first contribution in <a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8319">PHP-CS-Fixer/PHP-CS-Fixer#8319</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.65.0...v3.66.0">https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.65.0...v3.66.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/CHANGELOG.md">friendsofphp/php-cs-fixer's
changelog</a>.</em></p>
<blockquote>
<h2>Changelog for v3.66.0</h2>
<ul>
<li>feat: <code>Tokenizer</code> - initial support for PHP 8.4 property
hooks (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8312">#8312</a>)</li>
<li>feat: <code>PhpUnitTestCaseStaticMethodCallsFixer</code> - cover
PHPUnit v11.5 methods (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8314">#8314</a>)</li>
<li>feat: <code>PhpUnitTestCaseStaticMethodCallsFixer</code> - make sure
all static protected methods are handled (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8327">#8327</a>)</li>
<li>feat: <code>PhpUnitTestCaseStaticMethodCallsFixer</code> - support
createStub (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8319">#8319</a>)</li>
<li>feat: <code>UseArrowFunctionsFixer</code> - support multiline
statements (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8311">#8311</a>)</li>
<li>fix: <code>NullableTypeDeclarationFixer</code> - do not break
multi-line declaration (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8331">#8331</a>)</li>
<li>test: <code>CiConfigurationTest</code> - drop not needed condition,
logic is checked in upcoming assertion (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8303">#8303</a>)</li>
<li>chore: add more typehints (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8325">#8325</a>)</li>
<li>chore: <code>DotsOutput</code> - more const, better typing (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8318">#8318</a>)</li>
<li>chore: mark classes as readonly (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8275">#8275</a>)</li>
<li>chore: more const, better typing (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8320">#8320</a>)</li>
<li>chore: temporarily prevent symfony/process 7.2+ (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8322">#8322</a>)</li>
<li>chore: <code>Tokens</code> - simplify (un)registerFoundToken types
(<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8328">#8328</a>)</li>
<li>chore: upgrade PHPStan (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8321">#8321</a>)</li>
<li>chore: <code>BraceTransformer</code> - don't touch curly index
braces since 8.4, as it's not a valid syntax anymore (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8313">#8313</a>)</li>
<li>CI: enable phpdoc_to_property_type on php-lowest (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8324">#8324</a>)</li>
<li>Create SECURITY.md</li>
<li>docs: <code>Tokens</code> - fix docs (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8332">#8332</a>)</li>
</ul>
<h2>Changelog for v3.65.0</h2>
<ul>
<li>feat: Ability to set upper limit when using CPU auto-detection (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8280">#8280</a>)</li>
<li>feat: create <code>@PHP82Migration:risky</code> ruleset (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8277">#8277</a>)</li>
<li>feat: Impl. TypeExpression::mapTypes() (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8077">#8077</a>)</li>
<li>feat: Parse array/generic/nullable type into inner expression (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8106">#8106</a>)</li>
<li>feat: phpdoc_to_property_type - handle virtual types and null
initialization, enable in php-highest CI job (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8283">#8283</a>)</li>
<li>feat: Store PHPDoc offset in <code>DataProviderAnalysis</code> (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8226">#8226</a>)</li>
<li>feat: Support for complex PHPDoc types in
<code>fully_qualified_strict_types</code> (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8085">#8085</a>)</li>
<li>fix: check for priority tests correctly (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8221">#8221</a>)</li>
<li>fix: Do not mark with <code>@coversNothing</code> if
<code>CoversMethod</code>/<code>CoversFunction</code> attribute is used
(<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8268">#8268</a>)</li>
<li>fix: enum-case mistaken for const invocation (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8190">#8190</a>)</li>
<li>fix: fix typing of few properties wrongly typed as non-nullable (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8285">#8285</a>)</li>
<li>fix: fix typing property wrongly typed as non-nullable (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8290">#8290</a>)</li>
<li>fix: MethodChainingIndentationFixer does not fix indentation of last
chained property (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8080">#8080</a>)</li>
<li>fix: NoSuperfluousPhpdocTagsFixer - Remove superfluous phpdoc of
parameter with attribute (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8237">#8237</a>)</li>
<li>fix: parsing mixed <code>&amp;</code> and <code>|</code> in
<code>TypeExpression</code> (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8210">#8210</a>)</li>
<li>fix: proper base class used for AbstractDoctrineAnnotationFixer
templates generation (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8291">#8291</a>)</li>
<li>fix: Properly recognise constants in foreach loops (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8203">#8203</a>)</li>
<li>fix: Tokens::overrideRange() block cache pruning (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8240">#8240</a>)</li>
<li>fix: <code>BlankLineAfterOpeningTagFixer</code> - add blank line in
file starting with multi-line comment (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8256">#8256</a>)</li>
<li>fix: <code>MultilineWhitespaceBeforeSemicolonsFixer</code> - do not
produce syntax error when there is a meaningful token after semicolon
(<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8230">#8230</a>)</li>
<li>fix: <code>NullableTypeDeclarationFixer</code> - do not break syntax
when there is no space before <code>?</code> (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8224">#8224</a>)</li>
<li>fix: <code>PhpUnitDataProvider(.+)Fixer</code> - do not omit when
there is an attribute between PHPDoc and test method (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8185">#8185</a>)</li>
<li>fix: <code>PhpUnitDataProviderNameFixer</code> - for an attribute
between PHPDoc and test method (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8217">#8217</a>)</li>
<li>chore: add todo for PHP v8 (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8274">#8274</a>)</li>
<li>chore: auto-fallback to sequential runner if single CPU would handle
it (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8154">#8154</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/5f5f2a142ff36b93c41885bca29cc5f861c013e6"><code>5f5f2a1</code></a>
prepared the 3.66.0 release</li>
<li><a
href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/2f346f3d1262bec32032072d9b417b77274e4ac6"><code>2f346f3</code></a>
fix: <code>NullableTypeDeclarationFixer</code> - do not break multi-line
declaration (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8">#8</a>...</li>
<li><a
href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/ae2b729efb3507871ddf501424b1a92db4e5b16a"><code>ae2b729</code></a>
docs: Tokens - fix docs (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8332">#8332</a>)</li>
<li><a
href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/32bd8cabc54649f84a0dc08dfe59d6daa7c1d885"><code>32bd8ca</code></a>
chore: <code>BraceTransformer</code> - don't touch curly index braces
since 8.4, as it's...</li>
<li><a
href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/a3dc0626c0d98213fe3bae7e03b8e46162f664ac"><code>a3dc062</code></a>
chore: Tokens - simplify (un)registerFoundToken types (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8328">#8328</a>)</li>
<li><a
href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/bb7775bf648945b28bbb90716773814aea01c51f"><code>bb7775b</code></a>
chore: mark classes as readonly (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8275">#8275</a>)</li>
<li><a
href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/65976d4fbde34fb54aee053d80849ac9cfca1ba1"><code>65976d4</code></a>
feat: <code>PhpUnitTestCaseStaticMethodCallsFixer</code> - make sure all
static protecte...</li>
<li><a
href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/176b3bda1b803571648bf30011e84ed1962831ba"><code>176b3bd</code></a>
feat: <code>PhpUnitTestCaseStaticMethodCallsFixer</code> - support
createStub (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8319">#8319</a>)</li>
<li><a
href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/3e0003dae702f14c3e0a29a782696392ec4ea4cc"><code>3e0003d</code></a>
CI: enable phpdoc_to_property_type on php-lowest (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8324">#8324</a>)</li>
<li><a
href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/7045be8815dad2faedee21c6eefe857b3463e68f"><code>7045be8</code></a>
chore: add more typehints (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8325">#8325</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.65.0...v3.66.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Jan 4, 2025
1 parent 4ab58ba commit e7be261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/php-cs-fixer/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"php": ">=7.4"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "3.65.0",
"friendsofphp/php-cs-fixer": "3.66.0",
"roave/security-advisories": "dev-latest"
},
"prefer-stable": true,
Expand Down

0 comments on commit e7be261

Please sign in to comment.