Skip to content

Chore(deps-dev): Update phpunit/phpunit requirement from ~9 to ~13 in /tests/integration#7617

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/composer/tests/integration/phpunit/phpunit-approx-13
Open

Chore(deps-dev): Update phpunit/phpunit requirement from ~9 to ~13 in /tests/integration#7617
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/composer/tests/integration/phpunit/phpunit-approx-13

Conversation

@dependabot
Copy link
Contributor

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

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

Release notes

Sourced from phpunit/phpunit's releases.

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

  • #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

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

Keep up to date with PHPUnit:

Changelog

Sourced from phpunit/phpunit's changelog.

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 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)

Updates the requirements on [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) to permit the latest version.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/13.0.0/ChangeLog-13.0.md)
- [Commits](sebastianbergmann/phpunit@9.0.0...13.0.0)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-version: 13.0.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies php Pull requests that update Php code labels Feb 7, 2026
@dependabot dependabot bot added dependencies php Pull requests that update Php code labels Feb 7, 2026
@github-actions github-actions bot enabled auto-merge February 7, 2026 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants