Download Latest Version PHPUnit 13.4.3 source code.zip (1.4 MB) Google Add to Preferred Sources
Home / 13.4.2
Name Modified Size InfoDownloads / Week
Parent folder
PHPUnit 13.4.2 source code.tar.gz 2026-10-12 423.1 kB
PHPUnit 13.4.2 source code.zip 2026-10-12 1.4 MB
README.md 2026-10-12 1.9 kB
Totals: 3 Items   1.8 MB 0

Fixed

  • #7033: Compact printer is created although an extension replaces the progress output
  • #7035: Sorting tests by duration recomputes the duration of a test suite for every comparison
  • Sorting tests by size recomputes the size of a test suite for every comparison
  • expectUserDeprecationMessage() and expectUserDeprecationMessageMatches() did not see the deprecations triggered by an attempt of a retried test and saw those of the previously run test instead
  • The status of a test whose mock object raises an exception in its destructor is success although the test is reported as errored, so #[Retry] does not retry the test, --repeat does not skip the remaining repetitions, tearDown() sees the wrong status, and code coverage records the test as successful
  • Named arguments passed to with() were matched by position instead of by name, so an expectation such as ->with(b: 7) compared the expected value with the first parameter of the method and the parameter named $b was not checked
  • String keys of the parameter sets passed to withParameterSetsInOrder(), withParameterSetsInAnyOrder(), and withParameterSetsInPartialOrder() were ignored, so a parameter set such as ['b' => 7] compared the expected value with the first parameter of the method and the parameter named $b was not checked

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

Keep up to date with PHPUnit:

  • You can follow @phpunit@phpc.social to stay up to date with PHPUnit's development.
  • You can subscribe to the PHPUnit Updates newsletter to receive updates about and tips for PHPUnit.
Source: README.md, updated 2026-10-12