Pull Request: https://github.com/php/web-php/pull/1041 Author: dependabot[bot]
Bumps [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) from 3.59.3 to 3.60.0. <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.60.0 7th Gear</h2> <h2>What's Changed</h2> <ul> <li>feat: <code>PhpUnitAttributesFixer</code> - add option to keep annotations 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/8090">PHP-CS-Fixer/PHP-CS-Fixer#8090</a></li> <li>feat: Add sprintf in the list of compiler optimized functions by <a href="https://github.com/stof"><code>@stof</code></a> in <a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8092">PHP-CS-Fixer/PHP-CS-Fixer#8092</a></li> <li>chore: cleanup <code>TokensAnalyzerTest</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/8123">PHP-CS-Fixer/PHP-CS-Fixer#8123</a></li> <li>chore: cleanup tests that had required PHP 7.4 ages ago 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/8122">PHP-CS-Fixer/PHP-CS-Fixer#8122</a></li> <li>chore: fix example issue reported by reportPossiblyNonexistentGeneralArrayOffset from 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/8089">PHP-CS-Fixer/PHP-CS-Fixer#8089</a></li> <li>chore: NoSuperfluousPhpdocTagsFixer - no need to call heavy toComparableNames method to add null type 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/8132">PHP-CS-Fixer/PHP-CS-Fixer#8132</a></li> <li>chore: PHPStan 11 array rules 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/8011">PHP-CS-Fixer/PHP-CS-Fixer#8011</a></li> <li>chore: PhpUnitSizeClassFixerTest - solve PHP 8.4 issues 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/8105">PHP-CS-Fixer/PHP-CS-Fixer#8105</a></li> <li>chore: reduce PHPStan errors in PhpUnitAttributesFixer 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/8091">PHP-CS-Fixer/PHP-CS-Fixer#8091</a></li> <li>chore: reuse test methods 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/8119">PHP-CS-Fixer/PHP-CS-Fixer#8119</a></li> <li>CI: check autoload 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/8121">PHP-CS-Fixer/PHP-CS-Fixer#8121</a></li> <li>CI: Update PHPStan to 1.11.8 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/8133">PHP-CS-Fixer/PHP-CS-Fixer#8133</a></li> <li>deps: upgrade dev-tools 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/8102">PHP-CS-Fixer/PHP-CS-Fixer#8102</a></li> <li>DX: check for duplicated test data 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/8131">PHP-CS-Fixer/PHP-CS-Fixer#8131</a></li> <li>DX: check for duplicated test methods (as AutoReview test) 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/8134">PHP-CS-Fixer/PHP-CS-Fixer#8134</a></li> <li>DX: check for duplicated test methods 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/8124">PHP-CS-Fixer/PHP-CS-Fixer#8124</a></li> <li>DX: do not exclude duplicates that are clearly mistakes 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/8135">PHP-CS-Fixer/PHP-CS-Fixer#8135</a></li> <li>DX: Dump <code>offsetAccess.notFound</code> errors to baseline 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/8107">PHP-CS-Fixer/PHP-CS-Fixer#8107</a></li> <li>fix: <code>no_useless_concat_operator</code> - do not break variable (2) by <a href="https://github.com/tamiroh"><code>@tamiroh</code></a> in <a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7927">PHP-CS-Fixer/PHP-CS-Fixer#7927</a></li> <li>fix: <code>NullableTypeDeclarationFixer</code> - don't convert standalone <code>null</code> into nullable union type by <a href="https://github.com/kayw-geek"><code>@kayw-geek</code></a> in <a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/8098">PHP-CS-Fixer/PHP-CS-Fixer#8098</a></li> <li>fix: <code>NullableTypeDeclarationFixer</code> - don't convert standalone <code>NULL</code> into nullable union type 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/8111">PHP-CS-Fixer/PHP-CS-Fixer#8111</a></li> <li>fix: <code>NullableTypeDeclarationFixer</code> - insert correct token 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/8118">PHP-CS-Fixer/PHP-CS-Fixer#8118</a></li> <li>fix: <code>PhpUnitAttributesFixer</code> - handle multiple annotations of the same name 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/8075">PHP-CS-Fixer/PHP-CS-Fixer#8075</a></li> <li>fix: Better way of walking types in <code>TypeExpression</code> 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/8076">PHP-CS-Fixer/PHP-CS-Fixer#8076</a></li> <li>fix: CI for PHP 8.4 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/8114">PHP-CS-Fixer/PHP-CS-Fixer#8114</a></li> <li>fix: update <code>TokensTest</code> to shrink PHPStan's baseline 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/8112">PHP-CS-Fixer/PHP-CS-Fixer#8112</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.59.3...v3.60.0">https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.59.3...v3.60.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.60.0</h2> <ul> <li>feat: Add sprintf in the list of compiler optimized functions (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8092">#8092</a>)</li> <li>feat: <code>PhpUnitAttributesFixer</code> - add option to keep annotations (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8090">#8090</a>)</li> <li>chore: cleanup tests that had <code>@requires PHP 7.4</code> ages ago (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8122">#8122</a>)</li> <li>chore: cleanup <code>TokensAnalyzerTest</code> (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8123">#8123</a>)</li> <li>chore: fix example issue reported by reportPossiblyNonexistentGeneralArrayOffset from PHPStan (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8089">#8089</a>)</li> <li>chore: NoSuperfluousPhpdocTagsFixer - no need to call heavy toComparableNames method to add null type (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8132">#8132</a>)</li> <li>chore: PHPStan 11 array rules (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8011">#8011</a>)</li> <li>chore: PhpUnitSizeClassFixerTest - solve PHP 8.4 issues (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8105">#8105</a>)</li> <li>chore: reduce PHPStan errors in PhpUnitAttributesFixer (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8091">#8091</a>)</li> <li>chore: reuse test methods (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8119">#8119</a>)</li> <li>CI: check autoload (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8121">#8121</a>)</li> <li>CI: Update PHPStan to 1.11.8 (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8133">#8133</a>)</li> <li>deps: upgrade dev-tools (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8102">#8102</a>)</li> <li>DX: check for duplicated test data (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8131">#8131</a>)</li> <li>DX: check for duplicated test methods (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8124">#8124</a>)</li> <li>DX: check for duplicated test methods (as AutoReview test) (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8134">#8134</a>)</li> <li>DX: do not exclude duplicates that are clearly mistakes (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8135">#8135</a>)</li> <li>DX: Dump <code>offsetAccess.notFound</code> errors to baseline (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8107">#8107</a>)</li> <li>fix: Better way of walking types in <code>TypeExpression</code> (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8076">#8076</a>)</li> <li>fix: CI for PHP 8.4 (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8114">#8114</a>)</li> <li>fix: update <code>TokensTest</code> to shrink PHPStan's baseline (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8112">#8112</a>)</li> <li>fix: <code>no_useless_concat_operator</code> - do not break variable (2) (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7927">#7927</a>)</li> <li>fix: <code>NullableTypeDeclarationFixer</code> - don't convert standalone <code>null</code> into nullable union type (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8098">#8098</a>)</li> <li>fix: <code>NullableTypeDeclarationFixer</code> - don't convert standalone <code>NULL</code> into nullable union type (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8111">#8111</a>)</li> <li>fix: <code>NullableTypeDeclarationFixer</code> - insert correct token (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8118">#8118</a>)</li> <li>fix: <code>PhpUnitAttributesFixer</code> - handle multiple annotations of the same name (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8075">#8075</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/e595e4e070d17c5d42ed8c4206f630fcc5f401a4"><code>e595e4e</code></a> prepared the 3.60.0 release</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/5bcff151e8edbb02f5ada37f4856fc4e313fbbac"><code>5bcff15</code></a> DX: check for duplicated test methods (as AutoReview test) (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8134">#8134</a>)</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/6c93de86f97a57022cf7b46f45f59a9228705f92"><code>6c93de8</code></a> DX: do not exclude duplicates that are clearly mistakes (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8135">#8135</a>)</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/d05c3937b680142b3f2fd12fdba4a986a816e37a"><code>d05c393</code></a> DX: check for duplicated test data (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8131">#8131</a>)</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/22136cbf0b4155b77ba805f5a0bba3ea5e6b6794"><code>22136cb</code></a> CI: Update PHPStan to 1.11.8 (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8133">#8133</a>)</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/7d15b94d9e38b0ae4e24905e0ecfdebc4a27c78d"><code>7d15b94</code></a> chore: NoSuperfluousPhpdocTagsFixer - no need to call heavy toComparableNames...</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/2aa85eef1552a1e3c6addc81eae7ff90bd1f6e50"><code>2aa85ee</code></a> DX: check for duplicated test methods (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8124">#8124</a>)</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/99a8197dea741ac3b5d6fb88b1d5a6dccf981b1c"><code>99a8197</code></a> CI: check autoload (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8121">#8121</a>)</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/861df6fd657e8d288338435bc72fcc207b70b5e6"><code>861df6f</code></a> chore: cleanup <code>TokensAnalyzerTest</code> (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8123">#8123</a>)</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/71187b8c2b4e4b480621cb503af74485ebf1e0bf"><code>71187b8</code></a> chore: cleanup tests that had <code>@requires PHP 7.4</code> ages ago (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8122">#8122</a>)</li> <li>Additional commits viewable in <a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.59.3...v3.60.0">compare view</a></li> </ul> </details> <br /> [](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>