All notable changes of the PHPUnit 10.2 release series are documented in this file using the Keep a CHANGELOG principles.
10.2.2 - 2023-06-11
- #5405: XML configuration migration does not migrate
whitelist/file
elements
10.2.1 - 2023-06-05
PHPUnit\Runner\ErrorHandler
no longer emits events for errors that occur in PHPUnit's own code (or code of its dependencies) and are suppressed using the@
operator
10.2.0 - 2023-06-02
- #5328: Optionally ignore suppression of deprecations, notices, and warnings
PHPUnit\Event\Test\DataProviderMethodCalled
andPHPUnit\Event\Test\DataProviderMethodFinished
events
- Improved the reporting of errors during the loading and bootstrapping of test runner extensions
PHPUnit\TextUI\Configuration\Configuration::restrictDeprecations()
(usesource()->restrictDeprecations()
instead)PHPUnit\TextUI\Configuration\Configuration::restrictNotices()
(usesource()->restrictNotices()
instead)PHPUnit\TextUI\Configuration\Configuration::restrictWarnings()
(usesource()->restrictWarnings()
instead)
- #5364: Confusing warning message
Class ... cannot be found
when class is found, but does not extendPHPUnit\Framework\TestCase
- #5366:
PHPUnit\Event\TestSuite\Loaded
event has incompletePHPUnit\Event\TestSuite\TestSuite
value object - Always use
X.Y.Z
version number (and not justX.Y
) of PHPUnit's version when checking whether a PHAR-distributed extension is compatible