Skip to content

Update dependency phpunit/phpunit to v13.4.0 - #10987

Open
renovate[bot] wants to merge 1 commit into
develfrom
renovate/phpunit-phpunit-13.x
Open

renovate[bot] wants to merge 1 commit into
develfrom
renovate/phpunit-phpunit-13.x

Conversation

@renovate

@renovate renovate Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
phpunit/phpunit (source) 13.3.6 → 13.4.0 age confidence

Release Notes

sebastianbergmann/phpunit (phpunit/phpunit)

v13.4.0: PHPUnit 13.4.0

Compare Source

Added
  • #​6585: executionOrder attribute values and --order-by token lists that spell the order before defects, for example duration-ascending,defects
  • #​6585: pipeline() on the TestSuite\Sorted event for inspecting which reordering stages were applied
  • #​6686: Constraint::negatedToString() and Constraint::negatedFailureDescription() for authoring the description of a constraint that is wrapped in LogicalNot
  • #​6863: Cache which tests a test file contains
  • #​6957: Allow ordering tests by the time their source files were last modified
  • #​6958: Select the tests that are in all of several groups
  • #​6960: Record the order in which methods of mock objects are invoked
  • #​6964: #[RequiresClass] attribute to skip a test if a class does not exist
  • #​6995: ChildProcessExtension interface for extensions that need to be bootstrapped in the child process of a test that runs in process isolation
  • --coverage-jsonl CLI option and <jsonl> element for the XML configuration file to write a code coverage report in JSONL format, one JSON object per line, that reports uncovered code rather than every executable line
  • --timeout CLI option to limit the wall-clock time of the entire test run
  • requireCoverageMetadataOnSmallTests, requireCoverageMetadataOnMediumTests, and requireCoverageMetadataOnLargeTests attributes for the XML configuration file to require code coverage metadata depending on the size of a test; these have precedence over requireCoverageMetadata
Changed
  • Output printed by a test is now shown in the compact output as a --- OUTPUT: record that is attributed to the test instead of being passed through unformatted; the record is omitted when beStrictAboutOutputDuringTests or --disallow-test-output already reports the output as risky
Deprecated
  • #​6585: Writing defects before the order for --order-by and executionOrder, which will change meaning in PHPUnit 14
  • #​6585: depends and no-depends for --order-by and executionOrder
  • #​6585: Configuring more than one order for --order-by and executionOrder
  • #​6585: Unknown values for the executionOrder XML configuration attribute, which are currently ignored
  • #​6686: Constraint::failureDescriptionInContext() and LogicalNot::negate()
  • #​6999: Class-level #[Group], #[Ticket], #[Small], #[Medium], and #[Large] on parent classes of test classes
Fixed
  • Issues that are listed in the baseline are not ignored for tests that are run in a separate process
  • A test that is run in process isolation aborts the test run when its result cannot be unserialized, for instance because it returns an object that holds a test double
  • A test that uses #[DataProviderClosure] errors when it is run in process isolation

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

Keep up to date with PHPUnit:

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ 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 Oct 9, 2026
@renovate

renovate Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor Author

Branch automerge failure

This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.


  • Branch has one or more failed status checks

@renovate
renovate Bot enabled auto-merge October 9, 2026 06:46
@renovate
renovate Bot force-pushed the renovate/phpunit-phpunit-13.x branch from 4d49e88 to f849321 Compare October 9, 2026 13:19
@renovate
renovate Bot force-pushed the renovate/phpunit-phpunit-13.x branch from f849321 to 0f6c67c Compare October 9, 2026 14:05

This branch has not been deployed

No deployments
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.

0 participants