Download Latest Version PHPUnit 13.4.8 source code.zip (1.4 MB)
Home / 12.5.45
Name Modified Size InfoDownloads / Week
Parent folder
PHPUnit 12.5.45 source code.tar.gz 2026-11-19 329.4 kB
PHPUnit 12.5.45 source code.zip 2026-11-19 1.1 MB
README.md 2026-11-19 1.4 kB
Totals: 3 Items   1.4 MB 0

Fixed

  • The baseline generated using --generate-baseline contains an issue once for each time it was triggered, for instance once for each data set of a test that uses a data provider, instead of once
  • A baseline is not applied to the issues that are triggered in a file that is not located in the directory of the baseline, or in a directory below it, for instance when the baseline is located in build/baseline.xml and the file in src
  • When --log-junit php://stdout is used, or php://stdout is configured for the JUnit XML logfile in the XML configuration file, and the test runner prints its regular output, the test runner ends with An error occurred inside PHPUnit after the JUnit XML was printed: the test results are not printed, code coverage reports and the baseline are not written, and the shell exit code is 255
  • When --log-junit php://stdout is used together with --stderr, the JUnit XML is printed to the standard error stream

Learn how to install or update PHPUnit 12.5 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-11-19