Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 2.2 KB

ChangeLog-8.3.md

File metadata and controls

30 lines (19 loc) · 2.2 KB

Changes in PHPUnit 8.3

All notable changes of the PHPUnit 8.3 release series are documented in this file using the Keep a CHANGELOG principles.

8.3.1 - 2019-08-02

Fixed

  • Implemented #3774: PHP errors, notices, etc. cannot be tested anymore with PHPUnit 8.3

8.3.0 - 2019-08-02

Added

  • Implemented #3687: Introduce MockBuilder::addMethods() and MockBuilder::onlyMethods() as alternatives to MockBuilder::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 for TestCase::getActualOutput() to prevent a test being marked as risky when it prints output and that output is not expected using TestCase::expectOutputString() or TestCase::expectOutputRegEx()

Changed

  • 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 @errorHandler annotation, 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