All notable changes of the PHPUnit 10.5 release series are documented in this file using the Keep a CHANGELOG principles.
10.5.3 - 2023-12-13
Test\AssertionFailed
andTest\AssertionSucceeded
eventsPHPUnit\Runner\Extension\Facade::requireExportOfObjects()
andPHPUnit\Runner\Extension\Facade::requiresExportOfObjects()
registerMockObjectsFromTestArgumentsRecursively
attribute on the<phpunit>
element of the XML configuration filePHPUnit\TextUI\Configuration\Configuration::registerMockObjectsFromTestArgumentsRecursively()
- #5614: Infinite recursion when data provider provides recursive array
10.5.2 - 2023-12-05
- #5561: JUnit XML logger does not handle assertion failures in before-test methods
- #5567: Infinite recursion when recursive / self-referencing arrays are checked whether they contain only scalar values
10.5.1 - 2023-12-01
- #5593: Return Value Generator fails to correctly create test stub for method with
static
return type declaration when used recursively - #5596:
PHPUnit\Framework\TestCase
has@internal
annotation in PHAR
10.5.0 - 2023-12-01
- #5532:
#[IgnoreDeprecations]
attribute to ignoreE_(USER_)DEPRECATED
issues on test class and test method level - #5551: Support for omitting parameter default values for
willReturnMap()
- #5577:
--composer-lock
CLI option for PHAR binary that displays thecomposer.lock
used to build the PHAR
MockBuilder::disableAutoReturnValueGeneration()
andMockBuilder::enableAutoReturnValueGeneration()
are no longer deprecated
- #5563:
createMockForIntersectionOfInterfaces()
does not automatically register mock object for expectation verification