Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 1.54 KB

ChangeLog-10.5.md

File metadata and controls

29 lines (17 loc) · 1.54 KB

Changes in PHPUnit 10.5

All notable changes of the PHPUnit 10.5 release series are documented in this file using the Keep a CHANGELOG principles.

10.5.1 - 2023-12-01

Fixed

  • #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

Added

  • #5532: #[IgnoreDeprecations] attribute to ignore E_(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 the composer.lock used to build the PHAR

Changed

  • MockBuilder::disableAutoReturnValueGeneration() and MockBuilder::enableAutoReturnValueGeneration() are no longer deprecated

Fixed

  • #5563: createMockForIntersectionOfInterfaces() does not automatically register mock object for expectation verification