3.1 KiB
3.1 KiB
Changes in PHPUnit 7.0
All notable changes of the PHPUnit 7.0 release series are documented in this file using the Keep a CHANGELOG principles.
7.0.3 - 2018-03-26
- Fixed #3028: TestDox name prettifier does not handle test case classes correctly that are in a
Tests\*namespace
7.0.2 - 2018-02-26
Fixed
- Fixed #2974: JUnit XML logfile contains invalid characters when test output contains binary data
- Fixed #3014:
TypeErrorinPHPUnit\Framework\TestCase::getActualOutput()when callback registered usingsetOutputCallback()does not return a string - Removed more superfluous
@throws \Exceptionannotations
7.0.1 - 2018-02-13
Fixed
- Fixed #3000: Directories are not created recursively
- Removed superfluous
@throws \Exceptionannotations from assertion methods
7.0.0 - 2018-02-02
Added
- Implemented #2967: Added support for PHP configuration settings to
@requiresannotation
Changed
- Implemented #2566: Use
Throwableinstead ofExceptioninPHPUnit\Framework\TestListenermethod signatures - Implemented #2920: Replace CLI TestDox printer with
rpkamp/fancy-testdox-printer - Scalar Type Declarations and Return Type Declarations are now used where possible (as a result, the API of
PHPUnit\Framework\TestListener, for instance, has changed) - Some classes are now
final - The visibility of some methods has been changed from
protectedtoprivate
Removed
- Implemented #2473: Drop support for PHP 7.0
@scenariois no longer an alias for@test- The
PHPUnit\Framework\BaseTestListenerclass has been removed (deprecated in PHPUnit 6.4) - The
PHPUnit\Framework\TestCase::prepareTemplatetemplate method has been removed
Fixed
- Fixed #2169:
assertSame()does not show differences when used on two arrays that are not identical - Fixed #2902:
@testannotation gets accepted no matter what - Fixed #2907:
StringMatchesFormatDescriptionconstraint does not handle escaped%correctly - Fixed #2919:
assertJsonStringEqualsJsonString()matches empty object as empty array