Skip to content

chore(deps): update dependency phpunit/phpunit to v13#2385

Closed
renovate[bot] wants to merge 1 commit intodevfrom
renovate/phpunit-phpunit-13.x
Closed

chore(deps): update dependency phpunit/phpunit to v13#2385
renovate[bot] wants to merge 1 commit intodevfrom
renovate/phpunit-phpunit-13.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 6, 2026

This PR contains the following updates:

Package Change Age Confidence
phpunit/phpunit (source) ^12^13 age confidence

Release Notes

sebastianbergmann/phpunit (phpunit/phpunit)

v13.0.3

Compare Source

v13.0.2: PHPUnit 13.0.2

Compare Source

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:

v13.0.1: PHPUnit 13.0.1

Compare Source

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:

v13.0.0: PHPUnit 13.0.0

Compare Source

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:

Configuration

📅 Schedule: Branch creation - Between 03:00 AM and 05:59 AM ( * 3-5 * * * ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Contributor Author

renovate bot commented Feb 6, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: composer.lock
Command failed: composer update phpunit/phpunit:13.0.3 --with-dependencies --ignore-platform-req=ext-* --ignore-platform-req=lib-* --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins --minimal-changes
Loading composer repositories with package information
������������������������������������������������������                                                      ������������������������������������������������������Dependency sebastian/diff is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires phpunit/phpunit ^13 -> satisfiable by phpunit/phpunit[13.0.3].
    - phpunit/phpunit 13.0.3 requires sebastian/diff ^8.0.0 -> found sebastian/diff[8.0.0] but it conflicts with your root composer.json require (^7.0).
  Problem 2
    - spatie/phpunit-snapshot-assertions is locked to version 5.3.2 and an update of this package was not requested.
    - phpunit/phpunit 13.0.3 requires sebastian/diff ^8.0.0 -> found sebastian/diff[8.0.0] but it conflicts with your root composer.json require (^7.0).
    - spatie/phpunit-snapshot-assertions 5.3.2 requires phpunit/phpunit ^9.6|^10.0|^11.0|^12.0|^13.0 -> satisfiable by phpunit/phpunit[13.0.3].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

@renovate renovate bot force-pushed the renovate/phpunit-phpunit-13.x branch from d4047e4 to d870269 Compare February 6, 2026 20:01
@g5bot g5bot force-pushed the dev branch 2 times, most recently from e17e142 to 9b92209 Compare February 6, 2026 20:16
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-13.x branch from d870269 to 5402a75 Compare February 8, 2026 09:28
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-13.x branch from 5402a75 to cd4c761 Compare February 8, 2026 17:15
@g5bot g5bot force-pushed the dev branch 3 times, most recently from a2477ed to ed0438a Compare February 10, 2026 09:45
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-13.x branch from cd4c761 to ef4609c Compare February 10, 2026 12:35
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-13.x branch from ef4609c to 455e7ba Compare February 10, 2026 14:11
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-13.x branch from 455e7ba to 3653b42 Compare February 12, 2026 11:59
@g5bot g5bot force-pushed the dev branch 2 times, most recently from b31d89b to 0ef97e9 Compare February 15, 2026 13:58
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-13.x branch 2 times, most recently from 4f4c2d6 to 1bc9041 Compare February 16, 2026 12:41
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-13.x branch from 1bc9041 to bae58de Compare February 16, 2026 13:34
@g5bot g5bot closed this Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant