All notable changes of the PHPUnit 8.3 release series are documented in this file using the Keep a CHANGELOG principles.
8.3.5 - 2019-MM-DD
- Fixed #3801: Class constant as default parameter is undefined
- Fixed #3807: Fixed message of exception raised by
MockBuilder::addMethods()
8.3.4 - 2019-08-11
- Implemented #3788: Cast exception message to string
- Fixed #3772: Process Isolation does not work when PHPDBG is used
8.3.3 - 2019-08-03
- Fixed #3781:
MockBuilder::addMethods()andMockBuilder::onlyMethods()do not handle empty parameter array correctly
8.3.2 - 2019-08-02
- More work on the fix for #3774: Restored name of
PHPUnit\Framework\Error\Deprecated
8.3.1 - 2019-08-02
- Fixed #3774: PHP errors, notices, etc. cannot be tested anymore with PHPUnit 8.3
8.3.0 - 2019-08-02
- Implemented #3687: Introduce
MockBuilder::addMethods()andMockBuilder::onlyMethods()as alternatives toMockBuilder::setMethods() - Implemented #3741: Format class names as well as method names in TestDox output
- Implemented #3748: Add option to sort tests based on information from
@small,@medium, and@large - Added
TestCase::getActualOutputForAssertion()as a wrapper forTestCase::getActualOutput()to prevent a test being marked as risky when it prints output and that output is not expected usingTestCase::expectOutputString()orTestCase::expectOutputRegEx()
- Implemented #2015: Prefix all code bundled in PHAR distribution with random/unique namespace
- Implemented #3503: The error handler has been refactored to not rely on global state
- Implemented #3521: The
@errorHandlerannotation, which controlled a feature that was not documented and did not work correctly, does not have an effect anymore - Implemented #3522: The
TestCase::setUseErrorHandler()method, which controlled a feature that was not documented and did not work correctly, has been deprecated and does not have an effect anymore - Implemented #3687:
MockBuilder::setMethods()is now deprecated