Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 26, 2026

Bumps phpunit/phpunit from 11.5.48 to 12.5.7.

Release notes

Sourced from phpunit/phpunit's releases.

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

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

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

Keep up to date with PHPUnit:

PHPUnit 12.5.4

Changed

... (truncated)

Changelog

Sourced from phpunit/phpunit's changelog.

[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

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

... (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 11.5.48 to 12.5.7.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/12.5.7/ChangeLog-12.5.md)
- [Commits](sebastianbergmann/phpunit@11.5.48...12.5.7)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-version: 12.5.7
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Jan 26, 2026
@dependabot dependabot bot requested a review from norberttech as a code owner January 26, 2026 04:39
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Jan 26, 2026
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 28, 2026

Superseded by #2183.

@dependabot dependabot bot closed this Jan 28, 2026
@dependabot dependabot bot deleted the dependabot/composer/tools/phpunit/phpunit/phpunit-12.5.7 branch January 28, 2026 04:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update php code size: L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants