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
…62.0 to 3.64.0 in /tools/php-cs-fixer (#196)

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.64.0 Space Sets</h2>
<h2>What's Changed</h2>
<ul>
<li>feat: Update PSR2, PSR12 and PER-CS2 with
<code>single_space_after_...</code> config by <a
href="https://github.com/SpacePossum"><code>@​SpacePossum</code></a> in
<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8171">PHP-CS-Fixer/PHP-CS-Fixer#8171</a></li>
<li>feat: Symfony.trailing_comma_in_multiline - adjust configuration 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/8161">PHP-CS-Fixer/PHP-CS-Fixer#8161</a></li>
<li>feat: Symfony - adjust configuration for sets 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/8188">PHP-CS-Fixer/PHP-CS-Fixer#8188</a></li>
<li>CI: Update PHPStan to 1.12.0 and fix the error that appeared 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/8184">PHP-CS-Fixer/PHP-CS-Fixer#8184</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.63.2...v3.64.0">https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.63.2...v3.64.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.64.0</h2>
<ul>
<li>feat: Symfony - adjust configuration for sets (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8188">#8188</a>)</li>
<li>feat: Symfony.trailing_comma_in_multiline - adjust configuration (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8161">#8161</a>)</li>
<li>feat: Update PSR2, PSR12 and PER-CS2 with
<code>single_space_around_construct</code> config (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8171">#8171</a>)</li>
<li>CI: Update PHPStan to 1.12.0 and fix the error that appeared (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8184">#8184</a>)</li>
</ul>
<h2>Changelog for v3.63.2</h2>
<ul>
<li>fix: <code>FullyQualifiedStrictTypesFixer</code> - reset cache even
if there is no <code>use</code> (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8183">#8183</a>)</li>
</ul>
<h2>Changelog for v3.63.1</h2>
<ul>
<li>dummy release</li>
</ul>
<h2>Changelog for v3.63.0</h2>
<ul>
<li>feat: Add <code>array_destructuring</code> as option for
<code>trailing_comma_in_multiline</code> (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8172">#8172</a>)</li>
<li>feat: remove braces even for single import (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8156">#8156</a>)</li>
<li>feat: TrailingCommaInMultilineFixer - dynamically evaluate config
against PHP version (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8167">#8167</a>)</li>
<li>fix: Do not shorten FQN for class resolution if imported symbol is
not a class (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7705">#7705</a>)</li>
<li>fix: Ensure PHP binary path is used as a single CLI argument in
parallel worker process (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8180">#8180</a>)</li>
<li>fix: <code>PhpUnitAttributesFixer</code> - fix priorities with
<code>PhpUnitDataProvider(.+)Fixer</code> (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8169">#8169</a>)</li>
<li>chore: add tags for data providers that will change PHPStan's
baseline (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8178">#8178</a>)</li>
<li>chore: add <code>@return</code> tags for data providers already
having PHPDoc (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8176">#8176</a>)</li>
<li>chore: add <code>@return</code> tags for data providers that do not
have array in data (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8179">#8179</a>)</li>
<li>chore: remove duplicates from data providers (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8164">#8164</a>)</li>
<li>chore: remove duplicates from data providers that are copies in code
(<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8145">#8145</a>)</li>
<li>chore: remove <code>beStrictAboutTodoAnnotatedTests</code> from
PHPUnit's config (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8160">#8160</a>)</li>
<li>CI: Update PHPStan to 1.11.10 (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8163">#8163</a>)</li>
<li>CI: Update PHPStan to 1.11.11 and fix error that changed (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8174">#8174</a>)</li>
<li>docs: fix indent on rule
<code>date_time_create_from_format_call</code> (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8173">#8173</a>)</li>
</ul>
<h2>Changelog for v3.62.0</h2>
<ul>
<li>feat: set new_with_parentheses for anonymous_class to false in
PER-CS2.0 (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8140">#8140</a>)</li>
<li>chore: NewWithParenthesesFixer - create TODO to change the default
configuration to match PER-CS2 (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8148">#8148</a>)</li>
</ul>
<h2>Changelog for v3.61.1</h2>
<ul>
<li>fix: <code>NoSuperfluousPhpdocTagsFixer</code> - fix &quot;Undefined
array key 0&quot; error (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8150">#8150</a>)</li>
</ul>
<h2>Changelog for v3.61.0</h2>
<!-- 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/58dd9c931c785a79739310aef5178928305ffa67"><code>58dd9c9</code></a>
prepared the 3.64.0 release</li>
<li><a
href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/209f77687bd200f334cc658616857801ccaced37"><code>209f776</code></a>
feat: Symfony - adjust configuration for sets (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8188">#8188</a>)</li>
<li><a
href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/df2b6c2e3d2dc4c421a50364fe5419c4e6d67335"><code>df2b6c2</code></a>
feat: Symfony.trailing_comma_in_multiline - adjust configuration (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8161">#8161</a>)</li>
<li><a
href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/1e4b0f237b8465b52197aae26814e188178e3bfb"><code>1e4b0f2</code></a>
feat: Update PSR2, PSR12 and PER-CS2 with
<code>single_space_around_construct</code> con...</li>
<li><a
href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/00634e16143d2a51c70ccdcf24b10f30093ab6ec"><code>00634e1</code></a>
CI: Update PHPStan to 1.12.0 and fix the error that appeared (<a
href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8184">#8184</a>)</li>
<li><a
href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/970a9c55c95bb76024ee11ce098245cbb9c599d5"><code>970a9c5</code></a>
bumped version</li>
<li><a
href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/9d427f3f14984403a6ae9fc726b61765ca0c005e"><code>9d427f3</code></a>
prepared the 3.63.2 release</li>
<li><a
href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/5094b03d261b1b24475b2b41f25516d3653a879e"><code>5094b03</code></a>
fix: <code>FullyQualifiedStrictTypesFixer</code> - reset cache even if
there is no <code>use</code>...</li>
<li><a
href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/2189cb5b0ee3944758d796b691db1bb1298f83a5"><code>2189cb5</code></a>
bumped version</li>
<li><a
href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/ee3cc2e1fbfbddf98c17d4615db574a2a311c1ea"><code>ee3cc2e</code></a>
prepared the 3.63.1 release</li>
<li>Additional commits viewable in <a
href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.62.0...v3.64.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]>
Signed-off-by: Jan Kowalleck <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jan Kowalleck <[email protected]>
  • Loading branch information
dependabot[bot] and jkowalleck authored Oct 23, 2024
1 parent 13eead9 commit 3ce658b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
'declare_strict_types' => true,
'phpdoc_order' => true,
'header_comment' => ['header' => $header],
'trailing_comma_in_multiline' => ['after_heredoc' => true], // for php73 compat
])
->setRiskyAllowed(true)
->setFinder($finder)
Expand Down
5 changes: 5 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@

<!-- new unreleased items here -->

* Style
* Applied latest code style (via [#196])

[#196]: https://github.com/package-url/packageurl-php/pull/196

## 1.1.2 - 2024-02-05

Maintenance release.
Expand Down
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.62.0",
"friendsofphp/php-cs-fixer": "3.64.0",
"roave/security-advisories": "dev-latest"
},
"prefer-stable": true,
Expand Down

0 comments on commit 3ce658b

Please sign in to comment.