github sebastianbergmann/phpunit 12.5.47
PHPUnit 12.5.47

latest release: 13.5.1
one hour ago

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.

Don't miss a new phpunit release

NewReleases is sending notifications on new releases.