github sebastianbergmann/phpunit 12.5.45
PHPUnit 12.5.45

latest release: 13.4.8
one hour ago

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.

Don't miss a new phpunit release

NewReleases is sending notifications on new releases.