Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 3.4 KB

ChangeLog-9.0.md

File metadata and controls

44 lines (31 loc) · 3.4 KB

Changes in PHPUnit 9.0

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

9.0.1 - 2020-02-13

Fixed

  • Fixed #4036: Annotations for ignoring code from code coverage are unintentionally ignored by default

9.0.0 - 2020-02-07

Added

  • Implemented #3797: Add support for multiple --whitelist options

Changed

  • Implemented #3746: Improve developer experience of global wrapper functions for assertions
  • Implemented #3914: Refactor PHPUnit\Util\Configuration
  • Implemented #4024: Make PHPUnit\TextUI\ResultPrinter an interface
  • Multiple test case classes (classes that extend TestCase) that are declared in a single sourcecode file are no longer supported

Removed

  • Implemented #3333: Remove annotation(s) for expecting exceptions
  • Implemented #3334: Drop support for PHP 7.2
  • Implemented #3339: Remove assertions (and helper methods) that operate on (non-public) attributes
  • Implemented #3342: Remove optional parameters of assertEquals() and assertNotEquals()
  • Implemented #3370: Remove assertInternalType() and assertNotInternalType()
  • Implemented #3426: Clean up assertContains() and assertNotContains()
  • Implemented #3495: Remove assertArraySubset()
  • Implemented #3523: Remove the setUseErrorHandler() method
  • Implemented #3630: Deprecate support for ClassName<*> as values for @covers and @uses annotations (this deprecation is not implemented in code, you will not get a deprecation warning when you use this feature in PHPUnit 9)
  • Implemented #3770: Deprecate MockBuilder::setMethods() (this deprecation is not implemented in code, you will not get a deprecation warning when you use this feature in PHPUnit 9)
  • Implemented #3776: Deprecate expectException(PHPUnit\Framework\Error\*)
  • Implemented #3951: Remove optional parameters of assertFileEquals() etc.
  • Implemented #3956: Remove support for doubling multiple interfaces
  • Implemented #3957: Remove expectExceptionMessageRegExp()
  • Implemented #4012: Remove class name as CLI argument