Bump phpunit/phpunit from 10.5.62 to 12.5.8 #559

Merged
dependabot[bot] merged 1 commits from dependabot/composer/phpunit/phpunit-12.5.8 into main 2026-01-29 03:58:41 +00:00
dependabot[bot] commented 2026-01-29 00:43:28 +00:00 (Migrated from github.com)

Bumps phpunit/phpunit from 10.5.62 to 12.5.8.

Release notes

Sourced from phpunit/phpunit's releases.

PHPUnit 12.5.8

Changed

  • To prevent Poisoned Pipeline Execution (PPE) attacks using prepared .coverage files in pull requests, a PHPT test will no longer be run if the temporary file for writing code coverage information already exists before the test runs

Learn how to install or update PHPUnit 12.5 in the documentation.

Keep up to date with PHPUnit:

PHPUnit 12.5.7

Fixed

  • #6362: Manually instantiated test doubles are broken since PHPUnit 11.2
  • #6470: Infinite recursion in Count::getCountOf() for unusal implementations of Iterator or IteratorAggregate

Learn how to install or update PHPUnit 12.5 in the documentation.

Keep up to date with PHPUnit:

PHPUnit 12.5.6

Changed


Learn how to install or update PHPUnit 12.5 in the documentation.

Keep up to date with PHPUnit:

PHPUnit 12.5.5

Deprecated

  • #6461: any() matcher (soft deprecation)

Fixed

... (truncated)

Changelog

Sourced from phpunit/phpunit's changelog.

[12.5.8] - 2026-01-27

Changed

  • To prevent Poisoned Pipeline Execution (PPE) attacks using prepared .coverage files in pull requests, a PHPT test will no longer be run if the temporary file for writing code coverage information already exists before the test runs

[12.5.7] - 2026-01-24

Fixed

  • #6362: Manually instantiated test doubles are broken since PHPUnit 11.2
  • #6470: Infinite recursion in Count::getCountOf() for unusal implementations of Iterator or IteratorAggregate

[12.5.6] - 2026-01-16

Changed

[12.5.5] - 2026-01-15

Changed

  • PHPUnit\Framework\MockObject exceptions are now subtypes of PHPUnit\Exception

Deprecated

  • #6461: any() matcher (soft deprecation)

Fixed

  • #6470: Mocking a class with a property hook setter accepting more types than the property results in a fatal error

[12.5.4] - 2025-12-15

Changed

  • The #[AllowMockObjectsWithoutExpectations] attribute can now be used on the method level

Fixed

  • #6446: Test runner crashes with Timer::start() has to be called before Timer::stop()

[12.5.3] - 2025-12-11

Changed

  • The message emitted when a test method creates a mock object but does not configure any expectations for it has been improved

[12.5.2] - 2025-12-08

... (truncated)

Commits

Dependabot compatibility score

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 commands and options

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)
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 10.5.62 to 12.5.8. <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 12.5.8</h2> <h3>Changed</h3> <ul> <li>To prevent Poisoned Pipeline Execution (PPE) attacks using prepared <code>.coverage</code> files in pull requests, a PHPT test will no longer be run if the temporary file for writing code coverage information already exists before the test runs</li> </ul> <hr /> <p>Learn how to install or update PHPUnit 12.5 in the <a href="https://docs.phpunit.de/en/12.5/installation.html">documentation</a>.</p> <h4>Keep up to date with PHPUnit:</h4> <ul> <li>You can follow <a href="https://phpc.social/@phpunit"><code>@​phpunit@phpc.social</code></a> to stay up to date with PHPUnit's development.</li> <li>You can subscribe to the <a href="https://phpunit.de/newsletter">PHPUnit Updates</a> newsletter to receive updates about and tips for PHPUnit.</li> </ul> <h2>PHPUnit 12.5.7</h2> <h3>Fixed</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/6362">#6362</a>: Manually instantiated test doubles are broken since PHPUnit 11.2</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/6470">#6470</a>: Infinite recursion in <code>Count::getCountOf()</code> for unusal implementations of <code>Iterator</code> or <code>IteratorAggregate</code></li> </ul> <hr /> <p>Learn how to install or update PHPUnit 12.5 in the <a href="https://docs.phpunit.de/en/12.5/installation.html">documentation</a>.</p> <h4>Keep up to date with PHPUnit:</h4> <ul> <li>You can follow <a href="https://phpc.social/@phpunit"><code>@​phpunit@phpc.social</code></a> to stay up to date with PHPUnit's development.</li> <li>You can subscribe to the <a href="https://phpunit.de/newsletter">PHPUnit Updates</a> newsletter to receive updates about and tips for PHPUnit.</li> </ul> <h2>PHPUnit 12.5.6</h2> <h3>Changed</h3> <ul> <li>Reverted a change that caused a <a href="https://github.com/php/php-src/actions/runs/21052584327/job/60542023395#step:14:3729">build failure</a> for the <a href="https://phpunit.expert/articles/how-php-and-its-ecosystem-test-each-other.html?ref=github">PHP project's nightly community job</a></li> </ul> <hr /> <p>Learn how to install or update PHPUnit 12.5 in the <a href="https://docs.phpunit.de/en/12.5/installation.html">documentation</a>.</p> <h4>Keep up to date with PHPUnit:</h4> <ul> <li>You can follow <a href="https://phpc.social/@phpunit"><code>@​phpunit@phpc.social</code></a> to stay up to date with PHPUnit's development.</li> <li>You can subscribe to the <a href="https://phpunit.de/newsletter">PHPUnit Updates</a> newsletter to receive updates about and tips for PHPUnit.</li> </ul> <h2>PHPUnit 12.5.5</h2> <h3>Deprecated</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/6461">#6461</a>: <code>any()</code> matcher (soft deprecation)</li> </ul> <h3>Fixed</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/sebastianbergmann/phpunit/blob/12.5.8/ChangeLog-12.5.md">phpunit/phpunit's changelog</a>.</em></p> <blockquote> <h2>[12.5.8] - 2026-01-27</h2> <h3>Changed</h3> <ul> <li>To prevent Poisoned Pipeline Execution (PPE) attacks using prepared <code>.coverage</code> files in pull requests, a PHPT test will no longer be run if the temporary file for writing code coverage information already exists before the test runs</li> </ul> <h2>[12.5.7] - 2026-01-24</h2> <h3>Fixed</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/6362">#6362</a>: Manually instantiated test doubles are broken since PHPUnit 11.2</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/6470">#6470</a>: Infinite recursion in <code>Count::getCountOf()</code> for unusal implementations of <code>Iterator</code> or <code>IteratorAggregate</code></li> </ul> <h2>[12.5.6] - 2026-01-16</h2> <h3>Changed</h3> <ul> <li>Reverted a change that caused a <a href="https://github.com/php/php-src/actions/runs/21052584327/job/60542023395#step:14:3729">build failure</a> for the <a href="https://phpunit.expert/articles/how-php-and-its-ecosystem-test-each-other.html?ref=github">PHP project's nightly community job</a></li> </ul> <h2>[12.5.5] - 2026-01-15</h2> <h3>Changed</h3> <ul> <li><code>PHPUnit\Framework\MockObject</code> exceptions are now subtypes of <code>PHPUnit\Exception</code></li> </ul> <h3>Deprecated</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/6461">#6461</a>: <code>any()</code> matcher (soft deprecation)</li> </ul> <h3>Fixed</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/6470">#6470</a>: Mocking a class with a property hook setter accepting more types than the property results in a fatal error</li> </ul> <h2>[12.5.4] - 2025-12-15</h2> <h3>Changed</h3> <ul> <li>The <code>#[AllowMockObjectsWithoutExpectations]</code> attribute can now be used on the method level</li> </ul> <h3>Fixed</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/6446">#6446</a>: Test runner crashes with <code>Timer::start() has to be called before Timer::stop()</code></li> </ul> <h2>[12.5.3] - 2025-12-11</h2> <h3>Changed</h3> <ul> <li>The message emitted when a test method creates a mock object but does not configure any expectations for it has been improved</li> </ul> <h2>[12.5.2] - 2025-12-08</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/37ddb96c14bfee10304825edbb7e66d341ec6889"><code>37ddb96</code></a> Prepare release</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/613d142f5a8471ca71623ce5ca2795f79248329e"><code>613d142</code></a> Merge branch '11.5' into 12.5</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/fdfc727f0fcacfeb8fcb30c7e5da173125b58be3"><code>fdfc727</code></a> Prepare release</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/35ea7fd8e57b2c20c42e6088dedf5fb379c2c052"><code>35ea7fd</code></a> Merge branch '10.5' into 11.5</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/33198268dad71e926626b618f3ec3966661e4d90"><code>3319826</code></a> Prepare release</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/b0d98a227ae01648f3b251d58e36781a2243bab4"><code>b0d98a2</code></a> Merge branch '9.6' into 10.5</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/b36f02317466907a230d3aa1d34467041271ef4a"><code>b36f023</code></a> Fix regression introduced in PHPUnit 9.6.33</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/962f1525538194e56b638a46940e0d2fd142d728"><code>962f152</code></a> Merge branch '11.5' into 12.5</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/e4a22aeeeda81bfd2b10487a864eeee3020212a4"><code>e4a22ae</code></a> Merge branch '10.5' into 11.5</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/72c74a0904fab42494b4f1e850c6fba361114921"><code>72c74a0</code></a> Merge branch '10.5' into 11.5</li> <li>Additional commits viewable in <a href="https://github.com/sebastianbergmann/phpunit/compare/10.5.62...12.5.8">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=phpunit/phpunit&package-manager=composer&previous-version=10.5.62&new-version=12.5.8)](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>
Sign in to join this conversation.