Pull Request: https://github.com/php/web-php/pull/976 Author: dependabot[bot]
Bumps [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) from 3.51.0 to 3.53.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.53.0 15 Keys</h2> <h2>What's Changed</h2> <ul> <li>fix: <code>PhpdocArrayTypeFixer</code> - JIT stack limit exhausted 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/7895">PHP-CS-Fixer/PHP-CS-Fixer#7895</a></li> <li>feat: <code>@PHP84Migration</code> introduction 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/7774">PHP-CS-Fixer/PHP-CS-Fixer#7774</a></li> <li>test: Introduce Infection for mutation tests 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/7874">PHP-CS-Fixer/PHP-CS-Fixer#7874</a></li> <li>CI: Improve Infection setup 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/7913">PHP-CS-Fixer/PHP-CS-Fixer#7913</a></li> <li>chore: Use <code>list</code> over <code>array</code> in more places 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/7905">PHP-CS-Fixer/PHP-CS-Fixer#7905</a></li> <li>feat: Add trailing comma in multiline to PER-CS 2.0 by <a href="https://github.com/michaelvickersuk"><code>@michaelvickersuk</code></a> in <a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7916">PHP-CS-Fixer/PHP-CS-Fixer#7916</a></li> <li>feat: Introduce <code>AttributeAnalysis</code> by <a href="https://github.com/HypeMC"><code>@HypeMC</code></a> in <a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7909">PHP-CS-Fixer/PHP-CS-Fixer#7909</a></li> <li>CI: allow for self-approvals for maintainers 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/7921">PHP-CS-Fixer/PHP-CS-Fixer#7921</a></li> <li>fix: Constant invocation detected in typed constants by <a href="https://github.com/SharkyKZ"><code>@SharkyKZ</code></a> in <a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7892">PHP-CS-Fixer/PHP-CS-Fixer#7892</a></li> <li>DX: reduce <code>array_filter</code> function 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/7923">PHP-CS-Fixer/PHP-CS-Fixer#7923</a></li> <li>DX: update <code>phpstan/phpstan-strict-rules</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/7924">PHP-CS-Fixer/PHP-CS-Fixer#7924</a></li> <li>DX: update actions producing warnings 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/7925">PHP-CS-Fixer/PHP-CS-Fixer#7925</a></li> <li>DX: update actions producing warnings 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/7928">PHP-CS-Fixer/PHP-CS-Fixer#7928</a></li> <li>DX: remove duplicated character from <code>trim</code> call 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/7930">PHP-CS-Fixer/PHP-CS-Fixer#7930</a></li> <li>CI: no need to trigger enable auto-merge when self-approve 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/7929">PHP-CS-Fixer/PHP-CS-Fixer#7929</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/michaelvickersuk"><code>@michaelvickersuk</code></a> made their first contribution in <a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7916">PHP-CS-Fixer/PHP-CS-Fixer#7916</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.52.1...v3.53.0">https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.52.1...v3.53.0</a></p> <h2>v3.52.1 15 Keys</h2> <h2>What's Changed</h2> <ul> <li>fix: <code>PhpCsFixer\Tokenizer\Tokens::setSize</code> return 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/7900">PHP-CS-Fixer/PHP-CS-Fixer#7900</a></li> <li>fix: StatementIndentationFixer - do not crash on ternary operator in class property 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/7899">PHP-CS-Fixer/PHP-CS-Fixer#7899</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.52.0...v3.52.1">https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.52.0...v3.52.1</a></p> <h2>v3.52.0 15 Keys</h2> <h2>What's Changed</h2> <ul> <li>feat: <code>@Symfony:risky</code> - add <code>no_unreachable_default_argument_value</code> by <a href="https://github.com/gharlan"><code>@gharlan</code></a> in <a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7863">PHP-CS-Fixer/PHP-CS-Fixer#7863</a></li> <li>feat: <code>PhpCsFixer</code> ruleset - enable <code>nullable_type_declaration_for_default_null_value</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/7870">PHP-CS-Fixer/PHP-CS-Fixer#7870</a></li> <li>feat: Add <code>array_indentation</code> to <code>PER-CS2.0</code> ruleset by <a href="https://github.com/VincentLanglet"><code>@VincentLanglet</code></a> in <a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7881">PHP-CS-Fixer/PHP-CS-Fixer#7881</a></li> <li>feat: Add support for callable template in PHPDoc parser 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/7084">PHP-CS-Fixer/PHP-CS-Fixer#7084</a></li> <li>fix: <code>no_useless_concat_operator</code> - do not break variable 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/7827">PHP-CS-Fixer/PHP-CS-Fixer#7827</a></li> <li>fix: <code>TokensAnalyzer</code> - handle unary operator in arrow functions 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/7862">PHP-CS-Fixer/PHP-CS-Fixer#7862</a></li> <li>fix: <code>TypeExpression</code> - fix "JIT stack limit exhausted" error 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/7843">PHP-CS-Fixer/PHP-CS-Fixer#7843</a></li> <li>fix: Constant invocation detected in DNF types by <a href="https://github.com/SharkyKZ"><code>@SharkyKZ</code></a> in <a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7869">PHP-CS-Fixer/PHP-CS-Fixer#7869</a></li> <li>fix: Correctly indent multiline constants and properties by <a href="https://github.com/julienfalque"><code>@julienfalque</code></a> in <a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7875">PHP-CS-Fixer/PHP-CS-Fixer#7875</a></li> <li>chore: fix PHP 8.4 deprecations 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/7894">PHP-CS-Fixer/PHP-CS-Fixer#7894</a></li> <li>chore: fix PHPStan 1.10.60 issues 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/7873">PHP-CS-Fixer/PHP-CS-Fixer#7873</a></li> <li>chore: list over array in more places 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/7876">PHP-CS-Fixer/PHP-CS-Fixer#7876</a></li> <li>chore: replace template with variable in Preg class 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/7882">PHP-CS-Fixer/PHP-CS-Fixer#7882</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/7871">PHP-CS-Fixer/PHP-CS-Fixer#7871</a></li> <li>depr: <code>nullable_type_declaration_for_default_null_value</code> - deprecate option that is against <code>@PHP84Migration</code> 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/7872">PHP-CS-Fixer/PHP-CS-Fixer#7872</a></li> <li>docs: Fix typo by <a href="https://github.com/BenMorel"><code>@BenMorel</code></a> in <a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7889">PHP-CS-Fixer/PHP-CS-Fixer#7889</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.53.0</h2> <ul> <li>chore: Use <code>list</code> over <code>array</code> in more places (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7905">#7905</a>)</li> <li>CI: allow for self-approvals for maintainers (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7921">#7921</a>)</li> <li>CI: Improve Infection setup (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7913">#7913</a>)</li> <li>CI: no need to trigger enable auto-merge when self-approve (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7929">#7929</a>)</li> <li>DX: reduce <code>array_filter</code> function usages (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7923">#7923</a>)</li> <li>DX: remove duplicated character from <code>trim</code> call (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7930">#7930</a>)</li> <li>DX: update actions producing warnings (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7925">#7925</a>)</li> <li>DX: update actions producing warnings (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7928">#7928</a>)</li> <li>DX: update <code>phpstan/phpstan-strict-rules</code> (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7924">#7924</a>)</li> <li>feat: Add trailing comma in multiline to PER-CS 2.0 (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7916">#7916</a>)</li> <li>feat: Introduce <code>AttributeAnalysis</code> (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7909">#7909</a>)</li> <li>feat: <code>@PHP84Migration</code> introduction (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7774">#7774</a>)</li> <li>fix: Constant invocation detected in typed constants (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7892">#7892</a>)</li> <li>fix: <code>PhpdocArrayTypeFixer</code> - JIT stack limit exhausted (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7895">#7895</a>)</li> <li>test: Introduce Infection for mutation tests (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7874">#7874</a>)</li> </ul> <h2>Changelog for v3.52.1</h2> <ul> <li>fix: StatementIndentationFixer - do not crash on ternary operator in class property (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7899">#7899</a>)</li> <li>fix: <code>PhpCsFixer\Tokenizer\Tokens::setSize</code> return type (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7900">#7900</a>)</li> </ul> <h2>Changelog for v3.52.0</h2> <ul> <li>chore: fix PHP 8.4 deprecations (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7894">#7894</a>)</li> <li>chore: fix PHPStan 1.10.60 issues (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7873">#7873</a>)</li> <li>chore: list over array in more places (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7876">#7876</a>)</li> <li>chore: replace template with variable in Preg class (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7882">#7882</a>)</li> <li>chore: update PHPStan (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7871">#7871</a>)</li> <li>depr: <code>nullable_type_declaration_for_default_null_value</code> - deprecate option that is against <code>@PHP84Migration</code> (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7872">#7872</a>)</li> <li>docs: Fix typo (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7889">#7889</a>)</li> <li>feat: Add support for callable template in PHPDoc parser (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7084">#7084</a>)</li> <li>feat: Add <code>array_indentation</code> to <code>PER-CS2.0</code> ruleset (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7881">#7881</a>)</li> <li>feat: <code>@Symfony:risky</code> - add <code>no_unreachable_default_argument_value</code> (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7863">#7863</a>)</li> <li>feat: <code>PhpCsFixer</code> ruleset - enable <code>nullable_type_declaration_for_default_null_value</code> (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7870">#7870</a>)</li> <li>fix: Constant invocation detected in DNF types (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7869">#7869</a>)</li> <li>fix: Correctly indent multiline constants and properties (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7875">#7875</a>)</li> <li>fix: <code>no_useless_concat_operator</code> - do not break variable (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7827">#7827</a>)</li> <li>fix: <code>TokensAnalyzer</code> - handle unary operator in arrow functions (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7862">#7862</a>)</li> <li>fix: <code>TypeExpression</code> - fix "JIT stack limit exhausted" error (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7843">#7843</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/69a19093a9ded8d1baac62ed6c009b8bc148d008"><code>69a1909</code></a> prepared the 3.53.0 release</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/4094d95d60e693cb2c3a68ec3fa920fef7afb6a3"><code>4094d95</code></a> CI: no need to trigger enable auto-merge when self-approve (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7929">#7929</a>)</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/9298be67143efa09d22cda5f89880e0af75fa60e"><code>9298be6</code></a> DX: remove duplicated character from <code>trim</code> call (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7930">#7930</a>)</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/e0c59a9063adae220506d104f1da7c2a62507331"><code>e0c59a9</code></a> DX: update actions producing warnings (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7928">#7928</a>)</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/8b8fc66084b579d21c275425a835c7f3e7bc25dd"><code>8b8fc66</code></a> DX: update actions producing warnings (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7925">#7925</a>)</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/87c75fa56982ee7fe7094ce220af004be8c0cf02"><code>87c75fa</code></a> DX: update <code>phpstan/phpstan-strict-rules</code> (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7924">#7924</a>)</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/c7f60eea7b7abc9c162255115d9415d8a9bb0f82"><code>c7f60ee</code></a> DX: reduce <code>array_filter</code> function usages (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7923">#7923</a>)</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/c825d7c600215b94f55d9ce09bbbdfd5e449759e"><code>c825d7c</code></a> fix: Constant invocation detected in typed constants (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7892">#7892</a>)</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/5175075bb98f8e9182a9f005b3eae6d0c1c44a5c"><code>5175075</code></a> CI: allow for self-approvals for maintainers (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7921">#7921</a>)</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/7eb5ec3b5a8d8d46b700721fd21ffafd6ad07bcf"><code>7eb5ec3</code></a> feat: Introduce <code>AttributeAnalysis</code> (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7909">#7909</a>)</li> <li>Additional commits viewable in <a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.51.0...v3.53.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>