Pull Request: https://github.com/php/web-php/pull/959 Author: dependabot[bot]
Bumps [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) from 3.49.0 to 3.50.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.50.0 Insomnia</h2> <h2>What's Changed</h2> <ul> <li>feat: Ability to remove unused imports from multi-use statements 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/7815">PHP-CS-Fixer/PHP-CS-Fixer#7815</a></li> <li>feat: Support shortening symbols from multi-use statements (only classes for now) 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/7816">PHP-CS-Fixer/PHP-CS-Fixer#7816</a></li> <li>feat: allow PHPUnit 11 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/7824">PHP-CS-Fixer/PHP-CS-Fixer#7824</a></li> <li>feat: <code>MbStrFunctionsFixer</code> - add support for <code>mb_trim</code>, <code>mb_ltrim</code> and <code>mb_rtrim</code> 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/7840">PHP-CS-Fixer/PHP-CS-Fixer#7840</a></li> <li>feat: <code>no_superfluous_phpdoc_tags</code> - introduce <code>allow_hidden_params</code> option 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/7743">PHP-CS-Fixer/PHP-CS-Fixer#7743</a></li> <li>feat: <code>NoEmptyPhpdocFixer</code> - do not leave empty line after removing PHPDoc 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/7820">PHP-CS-Fixer/PHP-CS-Fixer#7820</a></li> <li>feat: introduce <code>PhpdocArrayTypeFixer</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/7812">PHP-CS-Fixer/PHP-CS-Fixer#7812</a></li> <li>feat: PhpUnitTestCaseStaticMethodCallsFixer - cover PHPUnit v11 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/7822">PHP-CS-Fixer/PHP-CS-Fixer#7822</a></li> <li>feat: Support for multi-use statements in <code>NamespaceUsesAnalyzer</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/7814">PHP-CS-Fixer/PHP-CS-Fixer#7814</a></li> <li>fix: <code>ExecutorWithoutErrorHandler</code> - remove invalid PHP 7.4 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/7845">PHP-CS-Fixer/PHP-CS-Fixer#7845</a></li> <li>fix: <code>fully_qualified_strict_types</code> must honor template/local type identifiers 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/7724">PHP-CS-Fixer/PHP-CS-Fixer#7724</a></li> <li>fix: <code>MethodArgumentSpaceFixer</code> - do not break heredoc/nowdoc 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/7828">PHP-CS-Fixer/PHP-CS-Fixer#7828</a></li> <li>fix: <code>NumericLiteralSeparatorFixer</code> - do not change <code>float</code> to <code>int</code> when there is nothing after the dot 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/7805">PHP-CS-Fixer/PHP-CS-Fixer#7805</a></li> <li>fix: <code>PhpUnitStrictFixer</code> - do not crash on property having the name of method to fix 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/7804">PHP-CS-Fixer/PHP-CS-Fixer#7804</a></li> <li>fix: <code>SingleSpaceAroundConstructFixer</code> - correctly recognise multiple constants by <a href="https://github.com/kubawerlos"><code>@kubawerlos</code></a> and <a href="https://github.com/Wirone"><code>@Wirone</code></a> in <a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7700">PHP-CS-Fixer/PHP-CS-Fixer#7700</a></li> <li>fix: <code>TypeExpression</code> - handle array shape key with dash 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/7841">PHP-CS-Fixer/PHP-CS-Fixer#7841</a></li> <li>fix: do not use wrongly named arguments in data providers 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/7823">PHP-CS-Fixer/PHP-CS-Fixer#7823</a></li> <li>fix: Ensure PCNTL extension is always installed in Docker 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/7782">PHP-CS-Fixer/PHP-CS-Fixer#7782</a></li> <li>fix: PhpdocListTypeFixer - support key types containing <code><…></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/7817">PHP-CS-Fixer/PHP-CS-Fixer#7817</a></li> <li>fix: Proper build target for local Docker Compose 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/7834">PHP-CS-Fixer/PHP-CS-Fixer#7834</a></li> <li>fix: union PHPDoc support in <code>fully_qualified_strict_types</code> fixer 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/7719">PHP-CS-Fixer/PHP-CS-Fixer#7719</a></li> <li>chore: add missing types 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/7842">PHP-CS-Fixer/PHP-CS-Fixer#7842</a></li> <li>chore: BlocksAnalyzer - raise exception on invalid index 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/7819">PHP-CS-Fixer/PHP-CS-Fixer#7819</a></li> <li>chore: DataProviderAnalysis - expect list over array 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/7800">PHP-CS-Fixer/PHP-CS-Fixer#7800</a></li> <li>chore: do not use <code>@large</code> on method level 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/7832">PHP-CS-Fixer/PHP-CS-Fixer#7832</a></li> <li>chore: do not use <code>@medium</code> on method level 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/7833">PHP-CS-Fixer/PHP-CS-Fixer#7833</a></li> <li>chore: Fix typos 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/7835">PHP-CS-Fixer/PHP-CS-Fixer#7835</a></li> <li>chore: rename variables 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/7847">PHP-CS-Fixer/PHP-CS-Fixer#7847</a></li> <li>chore: some improvements around array 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/7799">PHP-CS-Fixer/PHP-CS-Fixer#7799</a></li> <li>CI: fix PHP 8.4 job 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/7829">PHP-CS-Fixer/PHP-CS-Fixer#7829</a></li> <li>DX: Include <code>symfony/var-dumper</code> in dev tools 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/7795">PHP-CS-Fixer/PHP-CS-Fixer#7795</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/tamiroh"><code>@tamiroh</code></a> made their first contribution in <a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/pull/7835">PHP-CS-Fixer/PHP-CS-Fixer#7835</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.49.0...v3.50.0">https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.49.0...v3.50.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.50.0</h2> <ul> <li>chore: add missing types (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7842">#7842</a>)</li> <li>chore: BlocksAnalyzer - raise exception on invalid index (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7819">#7819</a>)</li> <li>chore: DataProviderAnalysis - expect list over array (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7800">#7800</a>)</li> <li>chore: do not use <code>@large</code> on method level (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7832">#7832</a>)</li> <li>chore: do not use <code>@medium</code> on method level (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7833">#7833</a>)</li> <li>chore: Fix typos (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7835">#7835</a>)</li> <li>chore: rename variables (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7847">#7847</a>)</li> <li>chore: some improvements around array typehints (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7799">#7799</a>)</li> <li>CI: fix PHP 8.4 job (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7829">#7829</a>)</li> <li>DX: Include <code>symfony/var-dumper</code> in dev tools (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7795">#7795</a>)</li> <li>feat: Ability to remove unused imports from multi-use statements (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7815">#7815</a>)</li> <li>feat: allow PHPUnit 11 (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7824">#7824</a>)</li> <li>feat: Allow shortening symbols from multi-use statements (only classes for now) (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7816">#7816</a>)</li> <li>feat: introduce <code>PhpdocArrayTypeFixer</code> (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7812">#7812</a>)</li> <li>feat: PhpUnitTestCaseStaticMethodCallsFixer - cover PHPUnit v11 methods (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7822">#7822</a>)</li> <li>feat: Support for multi-use statements in <code>NamespaceUsesAnalyzer</code> (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7814">#7814</a>)</li> <li>feat: <code>MbStrFunctionsFixer</code> - add support for <code>mb_trim</code>, <code>mb_ltrim</code> and <code>mb_rtrim</code> functions (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7840">#7840</a>)</li> <li>feat: <code>NoEmptyPhpdocFixer</code> - do not leave empty line after removing PHPDoc (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7820">#7820</a>)</li> <li>feat: <code>no_superfluous_phpdoc_tags</code> - introduce <code>allow_future_params</code> option (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7743">#7743</a>)</li> <li>fix: do not use wrongly named arguments in data providers (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7823">#7823</a>)</li> <li>fix: Ensure PCNTL extension is always installed in Docker (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7782">#7782</a>)</li> <li>fix: PhpdocListTypeFixer - support key types containing <code><…></code> (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7817">#7817</a>)</li> <li>fix: Proper build target for local Docker Compose (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7834">#7834</a>)</li> <li>fix: union PHPDoc support in <code>fully_qualified_strict_types</code> fixer (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7719">#7719</a>)</li> <li>fix: <code>ExecutorWithoutErrorHandler</code> - remove invalid PHP 7.4 type (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7845">#7845</a>)</li> <li>fix: <code>fully_qualified_strict_types</code> must honor template/local type identifiers (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7724">#7724</a>)</li> <li>fix: <code>MethodArgumentSpaceFixer</code> - do not break heredoc/nowdoc (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7828">#7828</a>)</li> <li>fix: <code>NumericLiteralSeparatorFixer</code> - do not change <code>float</code> to <code>int</code> when there is nothing after the dot (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7805">#7805</a>)</li> <li>fix: <code>PhpUnitStrictFixer</code> - do not crash on property having the name of method to fix (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7804">#7804</a>)</li> <li>fix: <code>SingleSpaceAroundConstructFixer</code> - correctly recognise multiple constants (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7700">#7700</a>)</li> <li>fix: <code>TypeExpression</code> - handle array shape key with dash (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7841">#7841</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/dbea11dcb6d9a1f6c8d51c0e580ab4a8876f524c"><code>dbea11d</code></a> prepared the 3.50.0 release</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/87944756eea4900084d386d63acd6070ff59394b"><code>8794475</code></a> chore: rename variables (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7847">#7847</a>)</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/0edbfb9762dcd9039997c8756c46b00651d3f50d"><code>0edbfb9</code></a> fix: <code>ExecutorWithoutErrorHandler</code> - remove invalid PHP 7.4 type (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7845">#7845</a>)</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/ea010715849af5b7dd04c49bb910d6875160eee7"><code>ea01071</code></a> chore: add missing types (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7842">#7842</a>)</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/591fb2070704e51a21449735d80d72d5581f9575"><code>591fb20</code></a> fix: Proper build target for local Docker Compose (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7834">#7834</a>)</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/4ab8fc435f0d8c79de04f969f42750786e81ea92"><code>4ab8fc4</code></a> fix: <code>TypeExpression</code> - handle array shape key with dash (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7841">#7841</a>)</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/c505b556e0aa112dd20518e1e25899ba18013192"><code>c505b55</code></a> feat: <code>MbStrFunctionsFixer</code> - add support for <code>mb_trim</code>, <code>mb_ltrim</code> and `mb_r...</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/f8a0ecf07a8a32039fffe92c60586460150e7265"><code>f8a0ecf</code></a> fix: <code>fully_qualified_strict_types</code> must honor template/local type identifier...</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/b113059b289a9f74312f1321329492547a146a01"><code>b113059</code></a> chore: Fix typos (<a href="https://redirect.github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7835">#7835</a>)</li> <li><a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/commit/aba9464f67fdb9f9a9df59b6e8099dbc748352dc"><code>aba9464</code></a> feat: <code>no_superfluous_phpdoc_tags</code> - introduce <code>allow_future_params</code> option (...</li> <li>Additional commits viewable in <a href="https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.49.0...v3.50.0">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.49.0&new-version=3.50.0)](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>