Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump friendsofphp/php-cs-fixer from 3.54.0 to 3.58.1 (#2238)
Bumps [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) from 3.54.0 to 3.58.1. <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.58.1 7th Gear</h2> <h2>What's Changed</h2> <ul> <li>fix: <code>PhpUnitTestClassRequiresCoversFixer</code> - do not add annotation when attribute with leading slash present 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/8054">PHP-CS-Fixer/PHP-CS-Fixer#8054</a></li> <li>fix: <code>ConstantCaseFixer</code> - do not change class constant usages 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/8055">PHP-CS-Fixer/PHP-CS-Fixer#8055</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.58.0...v3.58.1">https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.58.0...v3.58.1</a></p> <h2>v3.58.0 7th Gear</h2> <h2>What's Changed</h2> <ul> <li>feat(GroupImportFixer): Ability to configure which type of imports should be grouped by <a href="https://github.com/Wirone"><code>@Wirone</code></a> in <a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8046">PHP-CS-Fixer/PHP-CS-Fixer#8046</a></li> <li>fix: <code>PhpUnitSizeClassFixer</code> - do not add annotation when there are attributes 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/8044">PHP-CS-Fixer/PHP-CS-Fixer#8044</a></li> <li>fix: <code>ConstantCaseFixer</code> - do not change namespace 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/8004">PHP-CS-Fixer/PHP-CS-Fixer#8004</a></li> <li>fix: <code>PhpUnitTestClassRequiresCoversFixer</code> - attribute detection when class is <code>readonly</code> 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/8042">PHP-CS-Fixer/PHP-CS-Fixer#8042</a></li> <li>fix: <code>PhpUnitAttributesFixer</code> - do not add attribute if already present 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/8043">PHP-CS-Fixer/PHP-CS-Fixer#8043</a></li> <li>fix: clear <code>Tokens::$blockStartCache</code> and <code>Tokens::$blockEndCache</code> when calling <code>Tokens::setCode</code> 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/8051">PHP-CS-Fixer/PHP-CS-Fixer#8051</a></li> <li>fix: handle PHP closing tag with <code>simplified_null_return</code> correctly by <a href="https://github.com/FeBe95"><code>@FeBe95</code></a> in <a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8049">PHP-CS-Fixer/PHP-CS-Fixer#8049</a></li> <li>chore(doc): Use FQCN for parallel config in documentation by <a href="https://github.com/joelwurtz"><code>@joelwurtz</code></a> in <a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8029">PHP-CS-Fixer/PHP-CS-Fixer#8029</a></li> <li>chore: RandomApiMigrationFixer - do not modify configuration property 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/8033">PHP-CS-Fixer/PHP-CS-Fixer#8033</a></li> <li>chore: update PHPStan 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/8045">PHP-CS-Fixer/PHP-CS-Fixer#8045</a></li> <li>chore: fix typo in <code>PhpUnitTestClassRequiresCoversFixerTest</code> 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/8047">PHP-CS-Fixer/PHP-CS-Fixer#8047</a></li> <li>chore: Tokens::setCode - further improvements to cache 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/8053">PHP-CS-Fixer/PHP-CS-Fixer#8053</a></li> <li>docs: fix deprecated string interpolation style by <a href="https://github.com/FeBe95"><code>@FeBe95</code></a> in <a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8036">PHP-CS-Fixer/PHP-CS-Fixer#8036</a></li> <li>docs: Add missing imports in a cookbook about creating custom rules by <a href="https://github.com/jlecordier"><code>@jlecordier</code></a> in <a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8031">PHP-CS-Fixer/PHP-CS-Fixer#8031</a></li> <li>docs: global_namespace_import - simplify allowed config 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/8023">PHP-CS-Fixer/PHP-CS-Fixer#8023</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/joelwurtz"><code>@joelwurtz</code></a> made their first contribution in <a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8029">PHP-CS-Fixer/PHP-CS-Fixer#8029</a></li> <li><a href="https://github.com/jlecordier"><code>@jlecordier</code></a> made their first contribution in <a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8031">PHP-CS-Fixer/PHP-CS-Fixer#8031</a></li> <li><a href="https://github.com/FeBe95"><code>@FeBe95</code></a> made their first contribution in <a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8036">PHP-CS-Fixer/PHP-CS-Fixer#8036</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.57.2...v3.58.0">https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.57.2...v3.58.0</a></p> <h2>v3.57.2 7th Gear</h2> <h2>What's Changed</h2> <ul> <li>fix: <code>PhpUnitTestClassRequiresCoversFixer</code> - attribute detection when class is final by <a href="https://github.com/atomiix"><code>@atomiix</code></a> in <a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8016">PHP-CS-Fixer/PHP-CS-Fixer#8016</a></li> <li>fix: Support named args in <code>ParallelConfigFactory::detect()</code> by <a href="https://github.com/Wirone"><code>@Wirone</code></a> in <a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8026">PHP-CS-Fixer/PHP-CS-Fixer#8026</a></li> <li>chore: Report used memory to 2 decimal digits only by <a href="https://github.com/mvorisek"><code>@mvorisek</code></a> in <a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8017">PHP-CS-Fixer/PHP-CS-Fixer#8017</a></li> <li>docs: Improve Docker usage example by <a href="https://github.com/Wirone"><code>@Wirone</code></a> in <a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8021">PHP-CS-Fixer/PHP-CS-Fixer#8021</a></li> <li>docs: better ConfigurableFixer allowed 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/8024">PHP-CS-Fixer/PHP-CS-Fixer#8024</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/atomiix"><code>@atomiix</code></a> made their first contribution in <a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8016">PHP-CS-Fixer/PHP-CS-Fixer#8016</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.57.1...v3.57.2">https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.57.1...v3.57.2</a></p> <h2>v3.57.1 7th Gear</h2> <h2>What's Changed</h2> <ul> <li>chore: update PHPDoc in <code>Preg::matchAll</code> 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/8012">PHP-CS-Fixer/PHP-CS-Fixer#8012</a></li> <li>fix: Runner - handle no files while in parallel runner 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/8015">PHP-CS-Fixer/PHP-CS-Fixer#8015</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </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.58.1</h2> <ul> <li>fix: <code>ConstantCaseFixer</code> - do not change class constant usages (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8055">#8055</a>)</li> <li>fix: <code>PhpUnitTestClassRequiresCoversFixer</code> - do not add annotation when attribute with leading slash present (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8054">#8054</a>)</li> </ul> <h2>Changelog for v3.58.0</h2> <ul> <li>chore(doc): Use FQCN for parallel config in documentation (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8029">#8029</a>)</li> <li>chore: fix typo in <code>PhpUnitTestClassRequiresCoversFixerTest</code> (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8047">#8047</a>)</li> <li>chore: RandomApiMigrationFixer - do not modify configuration property (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8033">#8033</a>)</li> <li>chore: Tokens::setCode - further improvements to cache (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8053">#8053</a>)</li> <li>chore: update PHPStan (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8045">#8045</a>)</li> <li>docs: Add missing imports in a cookbook about creating custom rules (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8031">#8031</a>)</li> <li>docs: fix deprecated string interpolation style (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8036">#8036</a>)</li> <li>docs: global_namespace_import - simplify allowed config types (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8023">#8023</a>)</li> <li>feat(GroupImportFixer): Ability to configure which type of imports should be grouped (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8046">#8046</a>)</li> <li>fix: clear <code>Tokens::$blockStartCache</code> and <code>Tokens::$blockEndCache</code> when calling <code>Tokens::setCode</code> (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8051">#8051</a>)</li> <li>fix: correctly handle PHP closing tag with <code>simplified_null_return</code> (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8049">#8049</a>)</li> <li>fix: <code>ConstantCaseFixer</code> - do not change namespace (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8004">#8004</a>)</li> <li>fix: <code>PhpUnitAttributesFixer</code> - do not add attribute if already present (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8043">#8043</a>)</li> <li>fix: <code>PhpUnitSizeClassFixer</code> - do not add annotation when there are attributes (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8044">#8044</a>)</li> <li>fix: <code>PhpUnitTestClassRequiresCoversFixer</code> - attribute detection when class is <code>readonly</code> (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8042">#8042</a>)</li> </ul> <h2>Changelog for v3.57.2</h2> <ul> <li>docs: better ConfigurableFixer allowed types (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8024">#8024</a>)</li> <li>docs: Improve Docker usage example (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8021">#8021</a>)</li> <li>feat: Report used memory to 2 decimal digits only (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8017">#8017</a>)</li> <li>fix: Support named args in <code>ParallelConfigFactory::detect()</code> (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8026">#8026</a>)</li> <li>fix: <code>php_unit_test_class_requires_covers</code> Attribute detection when class is final (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8016">#8016</a>)</li> </ul> <h2>Changelog for v3.57.1</h2> <ul> <li>chore: update PHPDoc in <code>Preg::matchAll</code> (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8012">#8012</a>)</li> <li>fix: Runner - handle no files while in parallel runner (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8015">#8015</a>)</li> </ul> <h2>Changelog for v3.57.0</h2> <ul> <li>feat: Ability to run Fixer with parallel runner 🎉 (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7777">#7777</a>)</li> </ul> <h2>Changelog for v3.56.2</h2> <ul> <li>chore: update PHPStan (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8010">#8010</a>)</li> <li>DX: Fix Mess Detector violations (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8007">#8007</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/04e9424025677a86914b9a4944dbbf4060bb0aff"><code>04e9424</code></a> prepared the 3.58.1 release</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/8fdc3d5383cba2b625d4cfddcab1f6e3940a85e4"><code>8fdc3d5</code></a> fix: <code>ConstantCaseFixer</code> - do not change class constant usages (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8055">#8055</a>)</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/f33bd29153c29ee0889f5cef17fe1fbdb2963355"><code>f33bd29</code></a> fix: <code>PhpUnitTestClassRequiresCoversFixer</code> - do not add annotation when attri...</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/16e3a9c47552fd8eb0bae163b18017263e4ebd3c"><code>16e3a9c</code></a> bumped version</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/55d3483c80c09f91d876aa4e2971ce349d07310c"><code>55d3483</code></a> prepared the 3.58.0 release</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/837bdbada8c73c049e4d44b1ae7bb740e54b7bbe"><code>837bdba</code></a> chore: Tokens::setCode - further improvements to cache (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8053">#8053</a>)</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/604e7c230548d8035bd241ba74b4245813074bd9"><code>604e7c2</code></a> fix: correctly handle PHP closing tag with <code>simplified_null_return</code> (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8049">#8049</a>)</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/8cf5a71a9b8b5f3b19d0b793e91cfe8cb9a5fe16"><code>8cf5a71</code></a> fix: clear <code>Tokens::$blockStartCache</code> and <code>Tokens::$blockEndCache</code> when calli...</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/17050b2ecc7e4dd6f8d07e3eb0b8eb7da122b728"><code>17050b2</code></a> feat(GroupImportFixer): Ability to configure which type of imports should be ...</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/6cad43de7f0b8b801f709754107021b0fccf7a00"><code>6cad43d</code></a> chore: fix typo in <code>PhpUnitTestClassRequiresCoversFixerTest</code> (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8047">#8047</a>)</li> <li>Additional commits viewable in <a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.54.0...v3.58.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=friendsofphp/php-cs-fixer&package-manager=composer&previous-version=3.54.0&new-version=3.58.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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