All notable changes of the PHPUnit 8.0 release series are documented in this file using the Keep a CHANGELOG principles.
8.0.0 - 2019-02-01
- Implemented #3060: Cleanup
PHPUnit\Framework\Constraint\Constraint
- Implemented #3133: Enable dependency resolution by default
- Implemented #3236: Define which parts of PHPUnit are covered by the backward compatibility promise
- Implemented #3244: Enable result cache by default
- Implemented #3288: The
void_return
fixer of php-cs-fixer is now in effect - Implemented #3439: Improve colorization of TestDox output
- Implemented #3444: Consider data provider that provides data with duplicate keys to be invalid
- Implemented #3467: Code location hints for
@requires
annotations as well as--SKIPIF--
,--EXPECT--
,--EXPECTF--
,--EXPECTREGEX--
, and--{SECTION}_EXTERNAL--
sections of PHPT tests - Implemented #3481: Improved
--help
output
- Implemented #3332: Deprecate annotation(s) for expecting exceptions
- Implemented #3338: Deprecate assertions (and helper methods) that operate on (non-public) attributes
- Implemented #3341: Deprecate optional parameters of
assertEquals()
andassertNotEquals()
- Implemented #3369: Deprecate
assertInternalType()
andassertNotInternalType()
- Implemented #3388: Deprecate the
TestListener
interface - Implemented #3425: Deprecate optional parameters of
assertContains()
andassertNotContains()
as well as using these methods withstring
haystacks - Implemented #3494: Deprecate
assertArraySubset()