Skip to content

PHPUnit 12.5.47

Choose a tag to compare

@github-actions github-actions released this 04 Dec 09:22
Immutable release. Only release title and notes can be modified.
12.5.47
d3418c2

Fixed

  • The test runner crashes (An error occurred inside PHPUnit.) when the socket that is configured as the target of --log-junit, --log-teamcity, --testdox-html, or --testdox-text (or of their counterparts in the XML configuration file) cannot be opened: a test runner warning is now triggered and the logfile is not written
  • A deprecation that is suppressed using the @ operator is reported, and can make the test runner exit with a shell exit code that indicates failure, when it is triggered before the tests are run, for instance when a test file is loaded or by a data provider
  • When --all is used and a default test suite is configured using the defaultTestSuite attribute in the XML configuration file, the bootstrap scripts that are configured for the other test suites are not loaded although the tests of these test suites are run
  • The schema for the XML configuration file (phpunit.xsd) states 0 as the default value of the defaultTimeLimit attribute although the default value is 1

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.