All notable changes of the PHPUnit 5.2 release series are documented in this file using the Keep a CHANGELOG principles.
5.2.4 - 2016-02-11
- Fixed #2072: Paths in XML configuration file were not handled correctly when they have whitespace around them
5.2.3 - 2016-02-08
5.2.2 - 2016-02-07
5.2.1 - 2016-02-05
- Fixed #2060: Allow usage of
sebastian/versionin version 1
5.2.0 - 2016-02-05
- Implemented #1899: Mark a test as risky that does not execute the code it wants to test
- Implemented #1902: Mark a test as risky when it performs an assertion on a test double
- Implemented #1905: Add
--fail-on-riskyand--fail-on-warningcommandline options as well asfailOnRiskyandfailOnWarningconfiguration options - Implemented #1912: Add support for specifying the extension version with the
@requiresannotation - Implemented #1977: Add support for disabling annotations that control the ignoring of code coverage
- Added
PHPUnit_Framework_TestCase::expectException(),PHPUnit_Framework_TestCase::expectExceptionCode(),PHPUnit_Framework_TestCase::expectExceptionMessage(), andPHPUnit_Framework_TestCase::expectExceptionMessageRegExp()for programmatically setting expectations for exceptions
- Deprecated
PHPUnit_Framework_TestCase::setExpectedException() - Deprecated the
checkForUnintentionallyCoveredCodeconfiguration setting (usebeStrictAboutCoversAnnotationinstead)
- The
mapTestClassNameToCoveredClassNameconfiguration setting has been removed