Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 11, 2026

Bumps phpunit/phpunit from 10.5.62 to 13.0.2.

Release notes

Sourced from phpunit/phpunit's releases.

PHPUnit 13.0.2

Deprecated

  • #6505: Calling atLeast() with an argument that is not positive
  • #6507: Support for using with*() without expects()

Fixed

  • #6503: Temporary file used by SourceMapper may be deleted prematurely when multiple PHPUnit processes run in parallel
  • #6509: "No expectations were configured for the mock object ..." notice is emitted when with() is used without expects()

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

Keep up to date with PHPUnit:

PHPUnit 13.0.1

Fixed

  • #6495: Source map for issue trigger identification is regenerated in process isolation child processes
  • #6497: method() returns InvocationMocker instead of InvocationStubber for test stubs

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

Keep up to date with PHPUnit:

PHPUnit 13.0.0

Added

  • #6450: TestCase::invokeTestMethod() method for customizing test method invocation
  • #6455: withParameterSetsInOrder() and withParameterSetsInAnyOrder() for expecting calls to the same method of a mock object but with different arguments
  • #6466: Sealed test doubles
  • #6468: Configuration option to require sealed mock objects
  • #6477: assertArraysAreIdentical(), assertArraysAreIdenticalIgnoringOrder(), assertArraysHaveIdenticalValues(), assertArraysHaveIdenticalValuesIgnoringOrder(), assertArraysAreEqual(), assertArraysAreEqualIgnoringOrder(), assertArraysHaveEqualValues(), and assertArraysHaveEqualValuesIgnoringOrder() assertions
  • --test-files-file <file> CLI option to configure a file that contains the paths to the test files to be loaded (one file per line); use this when using CLI arguments is not an option due to argument length limitations

Deprecated

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

Removed

... (truncated)

Changelog

Sourced from phpunit/phpunit's changelog.

13.0.2 - 2026-02-10

Deprecated

  • #6505: Calling atLeast() with an argument that is not positive
  • #6507: Support for using with*() without expects()

Fixed

  • #6503: Temporary file used by SourceMapper may be deleted prematurely when multiple PHPUnit processes run in parallel
  • #6509: "No expectations were configured for the mock object ..." notice is emitted when with() is used without expects()

13.0.1 - 2026-02-08

Fixed

  • #6495: Source map for issue trigger identification is regenerated in process isolation child processes
  • #6497: method() returns InvocationMocker instead of InvocationStubber for test stubs

13.0.0 - 2026-02-06

Added

  • #6450: TestCase::invokeTestMethod() method for customizing test method invocation
  • #6455: withParameterSetsInOrder() and withParameterSetsInAnyOrder() for expecting calls to the same method of a mock object but with different arguments
  • #6466: Sealed test doubles
  • #6468: Configuration option to require sealed mock objects
  • #6477: assertArraysAreIdentical(), assertArraysAreIdenticalIgnoringOrder(), assertArraysHaveIdenticalValues(), assertArraysHaveIdenticalValuesIgnoringOrder(), assertArraysAreEqual(), assertArraysAreEqualIgnoringOrder(), assertArraysHaveEqualValues(), and assertArraysHaveEqualValuesIgnoringOrder() assertions
  • --test-files-file <file> CLI option to configure a file that contains the paths to the test files to be loaded (one file per line); use this when using CLI arguments is not an option due to argument length limitations

Deprecated

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

Removed

  • #6054: Assert::isType()
  • #6057: assertContainsOnly() and assertNotContainsOnly()
  • #6061: containsOnly()
  • #6076: Support for PHP 8.3
  • #6141: testClassName() method on event value objects for hook methods called for test methods
  • #6230: Configuration::includeTestSuite() and Configuration::excludeTestSuite()
  • #6241: --dont-report-useless-tests CLI option
  • #6247: Support for using #[CoversNothing] on a test method
  • #6285: #[RunClassInSeparateProcess] attribute
  • #6356: Support for version constraint string argument without explicit version comparison operator
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 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 13.0.2.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/13.0.2/ChangeLog-13.0.md)
- [Commits](sebastianbergmann/phpunit@10.5.62...13.0.2)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-version: 13.0.2
  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 Feb 11, 2026
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants