Fixed
- #7053: Extensions loaded using
-d extensionor-d zend_extensionare not loaded in child processes - The status of a test whose mock object raises an exception in its destructor is success although the test is reported as errored, so
tearDown()sees the wrong status and code coverage records the test as successful - Named arguments passed to
with()were matched by position instead of by name, so an expectation such as->with(b: 7)compared the expected value with the first parameter of the method and the parameter named$bwas not checked - When code coverage is collected and no code coverage driver is available in a child process, a test that is run in process isolation errors and a PHPT test fails instead of a warning being emitted
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.