Update phpunit/phpunit requirement from ^10.5.15 to ^12.5.6 #48

Closed
RealZone22 wants to merge 1 commit from dependabot/composer/phpunit/phpunit-tw-12.5.6 into main
RealZone22 commented 2026-01-19 23:15:45 +01:00 (Migrated from git.cyanfox.de)

Updates the requirements on phpunit/phpunit to permit the latest version.

Release notes

Sourced from phpunit/phpunit's releases.

PHPUnit 12.5.6

Changed


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

Keep up to date with PHPUnit:

Changelog

Sourced from phpunit/phpunit's changelog.

[12.5.6] - 2026-01-16

Changed

[12.5.5] - 2026-01-15

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

Added

  • Attribute #[AllowMockObjectsWithoutExpectations] for excluding tests from the check that emits the notice for test methods that create a mock object but do not configure an expectation for it

[12.5.1] - 2025-12-06

Added

  • TestCase::getStubBuilder() (analogous to TestCase::getMockBuilder()) for creating (partial) test stubs using a fluent API

[12.5.0] - 2025-12-05

Added

  • #6376: --all CLI option to ignore test selection configured in XML configuration file
  • #6422: Make <source> element in XML code coverage report optional

... (truncated)

Commits

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)
Updates the requirements on [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) to permit the latest version. <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.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> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/sebastianbergmann/phpunit/blob/12.5.6/ChangeLog-12.5.md">phpunit/phpunit's changelog</a>.</em></p> <blockquote> <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>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> <h3>Added</h3> <ul> <li>Attribute <code>#[AllowMockObjectsWithoutExpectations]</code> for excluding tests from the check that emits the notice for test methods that create a mock object but do not configure an expectation for it</li> </ul> <h2>[12.5.1] - 2025-12-06</h2> <h3>Added</h3> <ul> <li><code>TestCase::getStubBuilder()</code> (analogous to <code>TestCase::getMockBuilder()</code>) for creating (partial) test stubs using a fluent API</li> </ul> <h2>[12.5.0] - 2025-12-05</h2> <h3>Added</h3> <ul> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/6376">#6376</a>: <code>--all</code> CLI option to ignore test selection configured in XML configuration file</li> <li><a href="https://redirect.github.com/sebastianbergmann/phpunit/issues/6422">#6422</a>: Make <code>&lt;source&gt;</code> element in XML code coverage report optional</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/ab8e4374264bc65523d1458d14bf80261577e01f"><code>ab8e437</code></a> Prepare release</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/555bce1dd9a366eb355d57f0bc58f4d7a43f48d7"><code>555bce1</code></a> Merge branch '11.5' into 12.5</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/fe3665c15e37140f55aaf658c81a2eb9030b6d89"><code>fe3665c</code></a> Prepare release</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/3689d76e696de109adcf4ea5ae6ea82fe6fcb967"><code>3689d76</code></a> Merge branch '11.5' into 12.5</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/6ce74b769b1bd74a6e97c8c9dcc15a0cca02dd91"><code>6ce74b7</code></a> Merge branch '10.5' into 11.5</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/dd59c48731c08abe0abe39ab2bfbc2857afdc35e"><code>dd59c48</code></a> Revert &quot;Assert we have a current value&quot;</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/316abe0767991689d9698f4ab3e82c92447e0739"><code>316abe0</code></a> Leftover from af8e93e48b60ecdd12e9e553fb02ddeae37e393b</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/ba2d126905713bcf802c7f1e0d7507092ce9bf9a"><code>ba2d126</code></a> Prepare release</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/551692dd0f08e334d4f2d98bbc945ef9bd5efdc6"><code>551692d</code></a> Merge branch '11.5' into 12.5</li> <li><a href="https://github.com/sebastianbergmann/phpunit/commit/a8c3c540923f8a3d499659b927228059bb3809d8"><code>a8c3c54</code></a> Prepare release</li> <li>Additional commits viewable in <a href="https://github.com/sebastianbergmann/phpunit/compare/10.5.15...12.5.6">compare view</a></li> </ul> </details> <br /> 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>
RealZone22 commented 2026-01-19 23:15:45 +01:00 (Migrated from git.cyanfox.de)

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

### Labels The following labels could not be found: `dependencies`. Please create it before Dependabot can add it to a pull request. Please fix the above issues or remove invalid values from `dependabot.yml`.
RealZone22 commented 2026-01-26 23:34:48 +01:00 (Migrated from git.cyanfox.de)

Superseded by #22.

Superseded by #22.
RealZone22 (Migrated from git.cyanfox.de) closed this pull request 2026-01-26 23:34:49 +01:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
RealZone22/PenguTables!48
No description provided.