Pull Request: https://github.com/php/web-php/pull/1011 Author: dependabot[bot]
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 11.1.3 to 11.2.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sebastianbergmann/phpunit/releases">phpunit/phpunit's releases</a>.</em></p> <blockquote> <h2>PHPUnit 11.2.2</h2> <h3>Changed</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/pull/5861">#5861</a>: Destroy <code>TestCase</code> object after its test was run</li> </ul> <h3>Fixed</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/pull/5822">#5822</a>: PHP deprecations triggered within a closure are not handled correctly</li> </ul> <hr /> <p><a href="https://docs.phpunit.de/en/11.2/installation.html">How to install or update PHPUnit</a></p> <h2>PHPUnit 11.2.1</h2> <h3>Fixed</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5857">#5857</a>: Mocked methods cannot be called from the original constructor of a partially mocked class</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5859">#5859</a>: XML Configuration File Migrator does not remove <code>cacheDirectory</code> attribute from <code><coverage></code> element when migrating from PHPUnit 11.1 to PHPUnit 11.2</li> </ul> <hr /> <p><a href="https://docs.phpunit.de/en/11.2/installation.html">How to install or update PHPUnit</a></p> <h2>PHPUnit 11.2.0</h2> <h3>Added</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5799">#5799</a>: <code>#[CoversTrait]</code> and <code>#[UsesTrait]</code> attributes</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/pull/5804">#5804</a>: Support doubling <code>readonly</code> classes</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5811">#5811</a>: <code>assertObjectNotEquals()</code></li> </ul> <h3>Deprecated</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5800">#5800</a>: Support for targeting traits with <code>#[CoversClass]</code> and <code>#[UsesClass]</code> attributes</li> </ul> <hr /> <p><a href="https://docs.phpunit.de/en/11.2/installation.html">How to install or update PHPUnit</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/sebastianbergmann/phpunit/blob/11.2.2/ChangeLog-11.2.md">phpunit/phpunit's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/sebastianbergmann/phpunit/compare/11.2.1...11.2.2">11.2.2</a> - 2024-06-15</h2> <h3>Changed</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/pull/5861">#5861</a>: Destroy <code>TestCase</code> object after its test was run</li> </ul> <h3>Fixed</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/pull/5822">#5822</a>: PHP deprecations triggered within a closure are not handled correctly</li> </ul> <h2><a href="https://github.com/sebastianbergmann/phpunit/compare/11.2.0...11.2.1">11.2.1</a> - 2024-06-11</h2> <h3>Fixed</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5857">#5857</a>: Mocked methods cannot be called from the original constructor of a partially mocked class</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5859">#5859</a>: XML Configuration File Migrator does not remove <code>cacheDirectory</code> attribute from <code><coverage></code> element when migrating from PHPUnit 11.1 to PHPUnit 11.2</li> </ul> <h2><a href="https://github.com/sebastianbergmann/phpunit/compare/11.1.3...11.2.0">11.2.0</a> - 2024-06-07</h2> <h3>Added</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5799">#5799</a>: <code>#[CoversTrait]</code> and <code>#[UsesTrait]</code> attributes</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/pull/5804">#5804</a>: Support doubling <code>readonly</code> classes</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5811">#5811</a>: <code>assertObjectNotEquals()</code></li> </ul> <h3>Deprecated</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/5800">#5800</a>: Support for targeting traits with <code>#[CoversClass]</code> and <code>#[UsesClass]</code> attributes</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/3e1843a58adc9c433ee6170bdee7d615f7ccc20b"><code>3e1843a</code></a> Prepare release</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/50397883b6066f964fee15c3997054010e2ef593"><code>5039788</code></a> Merge branch '10.5' into 11.2</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/ac837816fa52078f7a5e17ed774f256a72a51af6"><code>ac83781</code></a> Prepare release</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/25d924341f2afdeb273c54caac222148e6bc5850"><code>25d9243</code></a> Fix CS/WS issues</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/55b5b357ba121de7e27f00189a0122bfa08f59ae"><code>55b5b35</code></a> Update ChangeLog</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/f88dd917eb625af4a9b1796d23cd9ada76a43c9b"><code>f88dd91</code></a> Declare test class final</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/fc20e1374614b5df7df505ecd04b33bdb676fe37"><code>fc20e13</code></a> Simplify</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/72c4873043014c5db1cf575b727816b91b36c0b7"><code>72c4873</code></a> CS fixes</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/f32fd1c68d3f458f6c355c79809e9b07213b0012"><code>f32fd1c</code></a> add testcase</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/71121db9aed19a75ea401b4a252193a26dd8259e"><code>71121db</code></a> typo</li> <li>Additional commits viewable in <a href="https://github.com/sebastianbergmann/phpunit/compare/11.1.3...11.2.2">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>