Changed
- The Software Bill of Materials (SBOM) embedded in the PHAR now uses CycloneDX 1.7 and provides the NTIA minimum elements as well as the data fields that BSI TR-03183-2 (version 2.1.0) requires for logical and identified components, including component creators, original, distribution and effective licences, source code URIs, and the PHP runtime and its extensions as external components
Fixed
setUpBeforeClass()andtearDownAfterClass()were run twice for a test class that is the only test class in a test suite of the XML configuration file that has the name of that test class- Tests could not be run in process isolation when the path of the bootstrap script, the test file, or the directory for temporary files contained a single quote
- A test that is run in process isolation aborts the test run when its result cannot be unserialized, for instance because it returns an object that holds a test double
- Issues that are listed in the baseline are not ignored for tests that are run in a separate process
- Arguments in the
--ARGS--section of a PHPT test that start with-were interpreted by PHP instead of being passed to the test when the test also has a--STDIN--section - Recording the tests that passed in a child process copied all tests that had passed so far, which made running many tests in process isolation increasingly slow
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.