Pull Request: https://github.com/php/web-php/pull/962 Author: dependabot[bot]
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 10.5.11 to 11.0.4. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/sebastianbergmann/phpunit/blob/11.0.4/ChangeLog-11.0.md">phpunit/phpunit's changelog</a>.</em></p> <blockquote> <h2>[11.0.4] - 2024-02-29</h2> <h3>Fixed</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5704#issuecomment-1951105254">#5704</a>: No warning when CLI options are used multiple times</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5707">#5707</a>: <code>--fail-on-empty-test-suite</code> CLI option is not documented in <code>--help</code> output</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/pull/5716">#5716</a>: Better respect PHP native array key handling for <code>assertArrayIs*ToArrayOnlyConsideringListOfKeys()</code></li> </ul> <h2>[11.0.3] - 2024-02-10</h2> <h3>Changed</h3> <ul> <li>Tests that do not unregister their error handlers or exception handlers are no longer considered risky when they are run in an isolated process</li> </ul> <h3>Fixed</h3> <ul> <li>When a test (or the code called from it) does not unregister its own error handlers and its own exception handlers then only the latter was reported</li> <li>Resource usage information is printed when the <code>--debug</code> CLI option is used</li> </ul> <h2>[11.0.2] - 2024-04-04</h2> <h3>Fixed</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5692">#5692</a>: <code>--log-events-text</code> and <code>--log-events-verbose-text</code> require the destination file to exit</li> </ul> <h2>[11.0.1] - 2024-02-02</h2> <h3>Fixed</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5690">#5690</a>: Backward Compatibility break in <code>PHPUnit\Framework\Constraint\Constraint</code></li> </ul> <h2>[11.0.0] - 2024-02-02</h2> <h3>Added</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/pull/4964">#4964</a>: Enable named data sets with the <code>#[TestWith*]</code> attributes</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/pull/5225">#5225</a>: Allow providing named arguments from a data provider</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/pull/5600">#5600</a>: Assertions for comparing arrays while ignoring a specified list of keys</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/pull/5605">#5605</a>: <code>expectUserDeprecationMessage()</code> and <code>expectUserDeprecationMessageMatches()</code> for expecting <code>E_USER_DEPRECATED</code> issues</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5620">#5620</a>: Implement <code>group</code> attribute on <code><directory></code> and <code><file></code> elements (children of <code><testsuite></code>) to add all tests found in a directory or file to a specified group</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/pull/5629">#5629</a>: <code>--exclude-filter</code> CLI option for excluding tests from execution</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/pull/5642">#5642</a>: <code>--list-test-files</code> CLI option to print the list of test files</li> </ul> <h3>Changed</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5213">#5213</a>: Make <code>TestCase</code> methods <code>protected</code> that should have been <code>protected</code> all along</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5254">#5254</a>: Make <code>TestCase</code> methods <code>final</code> that should have been <code>final</code> all along</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/pull/5619">#5619</a>: Check and restore error/exception global handlers</li> <li>The format of the XML document generated using the <code>--list-tests-xml</code> CLI option has been changed</li> <li><code>small</code>, <code>medium</code>, and <code>large</code> can no longer be used as group names with the <code>#[Group]</code> attribute</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/3f4261269c91370e9b2b3f64cc76c617c442c35a"><code>3f42612</code></a> Prepare release</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/9c779242ba3fab365f9161a8512d5b1d07d4dc5e"><code>9c77924</code></a> Update ChangeLog</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/7ec45998b05f798913e9e31c814d5d8aa429df5b"><code>7ec4599</code></a> assertArrayIs*ToArrayOnlyConsideringListOfKeys(): bug fix - better respect PH...</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/8bcc5156b106fd003652fa472cacf9788633d281"><code>8bcc515</code></a> Merge branch '10.5' into 11.0</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/8d675f8edf9de03224da01da5945457b5202bde6"><code>8d675f8</code></a> Fix CS/WS issue</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/ea4b5f466463e9d1ad8a6376a8276549d18fbcbc"><code>ea4b5f4</code></a> Merge branch '10.5' into 11.0</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/8d897593f22e903d6ab8223926d6d50a615481c2"><code>8d89759</code></a> Extract method</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/a7c060090b727ee8dc148082ff662174859c0e91"><code>a7c0600</code></a> Merge branch '10.5' into 11.0</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/36bfd5ed83456d85fdc001da687384c746e5ad99"><code>36bfd5e</code></a> Fix code coverage metadata</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/8b55ced078af4fe01a2452e85231a0a7131b04b2"><code>8b55ced</code></a> Merge branch '10.5' into 11.0</li> <li>Additional commits viewable in <a href="https://github.com/sebastianbergmann/phpunit/compare/10.5.11...11.0.4">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>