All notable changes of the PHPUnit 10.2 release series are documented in this file using the Keep a CHANGELOG principles.
10.2.7 - 2023-08-02
- #5451: PHPUnit errors, for instance from invalid data providers, are not reported correctly
10.2.6 - 2023-07-17
- #5445: Decouple printing of unexpected output from progress printer
10.2.5 - 2023-07-14
- #5443: Restore behaviour that tests are not considered risky when they errored before an assertion was performed
10.2.4 - 2023-07-10
--warm-coverage-cache
does not work- The short option
-v
(short for--verbose
) was still accepted by the test runner, but no longer had an effect since--verbose
was removed in PHPUnit 10.0
10.2.3 - 2023-06-30
- #5419: Allow empty
<extensions>
element in XML configuration
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