All notable changes of the PHPUnit 8.2 release series are documented in this file using the Keep a CHANGELOG principles.
8.2.5 - 2019-07-15
- Fixed #3747: Regression in
StringStartsWith
constraint - Fixed #3752:
expectException()
fails withgetMockForAbstractClass()
8.2.4 - 2019-07-03
- Implemented #3744: More context when value with incompatible type is configured to be returned by stub
8.2.3 - 2019-06-19
- Fixed #3722:
getObjectForTrait()
does not work for traits that declare a constructor - Fixed #3723: Unescaped dash in character group in regular expression
8.2.2 - 2019-06-15
- Scoped PHAR built with newer version of PHP-Scoper
8.2.1 - 2019-06-07
- Fixed type#2: Stubbing of methods with
callable
oriterable
return type does not work
8.2.0 - 2019-06-07
- Implemented #3506: PHP options should be passed to child processes
- Implemented #3586: Show time spent on code coverage report generation
- Implemented #3682: Allow using
duration
for the--order-by
option as well as for theexecutionOrder
attribute inphpunit.xml
- Implemented #3122: Prevent runtime type error due to wrong return value configuration of test double
- Implemented #3708: Built-in assertion and mock type definitions
- Fixed #3602: PHPUnit silently ignores the return value on a
void
method of test double