Skip to content

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

Open
renovate[bot] wants to merge 2 commits intodevelfrom
renovate/phpunit-phpunit-13.x
Open

chore(deps): update dependency phpunit/phpunit to v13#9059
renovate[bot] wants to merge 2 commits intodevelfrom
renovate/phpunit-phpunit-13.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 15, 2026

This PR contains the following updates:

Package Change Age Confidence
phpunit/phpunit (source) 12.5.1413.0.5 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

sebastianbergmann/phpunit (phpunit/phpunit)

v13.0.5: PHPUnit 13.0.5

Compare Source

Fixed
  • #​6521: Performance regression in PHPUnit 11.5.54, PHPUnit 12.5.13, and PHPUnit 13.0.4

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

Keep up to date with PHPUnit:

v13.0.4: PHPUnit 13.0.4

Compare Source

Fixed
  • #​6489: Classification of self/direct/indirect deprecation triggers is not aligned with Symfony's bridge for PHPUnit

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

Keep up to date with PHPUnit:

v13.0.3: PHPUnit 13.0.3

Compare Source

Fixed
  • #​6511: TestDox variables out of order with named arguments
  • #​6514: <ini /> can silently fail

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

Keep up to date with PHPUnit:

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 - At any time (no schedule defined), 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 renovate bot added the renovate label Feb 15, 2026
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-13.x branch 5 times, most recently from 6f0a499 to 1a6f51a Compare February 18, 2026 20:49
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-13.x branch 7 times, most recently from 96655b5 to 5a3a685 Compare March 2, 2026 01:33
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-13.x branch from 5a3a685 to 3f7e0bb Compare March 2, 2026 21:19
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-13.x branch 2 times, most recently from d55a481 to e0c20c4 Compare March 13, 2026 22:30
@BacLuc
Copy link
Contributor

BacLuc commented Mar 13, 2026

I would first fix all the deprecations in this branch

@renovate renovate bot force-pushed the renovate/phpunit-phpunit-13.x branch 4 times, most recently from 64a55ba to 50fc28b Compare March 18, 2026 21:29
@renovate renovate bot force-pushed the renovate/phpunit-phpunit-13.x branch from 50fc28b to cd7b02e Compare March 19, 2026 21:02
* The any() invoked count expectation is deprecated and will be removed in PHPUnit 14. Use a test stub instead or configure a real invocation count expectation.

The any() invoked count expectation is deprecated and will be removed in PHPUnit 14. Use a test stub instead or configure a real invocation count expectation.

24) App\Tests\Doctrine\Filter\ExpressionDateTimeFilterTest::testApplyReplacesMultipleInstancesOfTheSameRelationAlias@strictly_before with data ('strictly_before', '<')
Using with*() without expects() is deprecated and will no longer be possible in PHPUnit 14.
@BacLuc BacLuc requested a review from a team March 21, 2026 20:52
@BacLuc
Copy link
Contributor

BacLuc commented Mar 21, 2026

I would first fix all the deprecations in this branch

deprecations are fixed.

@renovate
Copy link
Contributor Author

renovate bot commented Mar 21, 2026

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant