phpstorm.dev

PHP ecosystem insights

PHP knowledge

Versioned PHP knowledge with primary sources and explicit verification dates.

Source checks through 2026-10-27 · 57 sources · This published snapshot is over 48 hours old.

Verified 2026-10-02 Permanent entry

PHPUnit 13.4.0 changes and deprecations

PHPUnit 13.4.0 was tagged on 2 October 2026. Packagist metadata for the release requires PHP >=8.4.1. This is a feature release of the 13.x line, not a new major version.

Additions

Behavior change

Output printed by a test now appears in the compact output as a --- OUTPUT: record attributed to that test, unless the run already reports such output as risky.

Deprecations aimed at PHPUnit 14

The notes deprecate writing defects before the order in --order-by/executionOrder ("which will change meaning in PHPUnit 14"), the depends/no-depends order values, configuring more than one order, and unknown executionOrder values. Class-level #[Group], #[Ticket], #[Small], #[Medium] and #[Large] on parent classes of test classes are also deprecated, as are Constraint::failureDescriptionInContext() and LogicalNot::negate().

Fixes

Fixes concern process isolation: baseline-listed issues were not ignored in separate processes, unserializable results (for example an object holding a test double) aborted the run, and #[DataProviderClosure] tests errored.

Limitations: this page paraphrases the release notes; it does not test the behavior. Check the tagged notes before relying on a specific option. Related: PHPUnit 13.3.6, package signals.