All notable changes of the PHPUnit 11.2 release series are documented in this file using the Keep a CHANGELOG principles.
11.2.8 - 2024-07-18
- #5898:
Test\Passed
event is not emitted for PHPT tests --coverage-filter
CLI option could not be used multiple times
11.2.7 - 2024-07-10
- Updated dependencies (so that users that install using Composer's
--prefer-lowest
CLI option also get recent versions)
- #5892: Errors during write of
phpunit.xml
are not handled correctly when--generate-configuration
is used
11.2.6 - 2024-07-03
- #5880: Add hints to CLI parameter deprecation messages
11.2.5 - 2024-06-20
- #5877: Use
array_pop()
instead ofarray_shift()
for processingTest
objects inTestSuite::run()
and optimizeTestSuite::isEmpty()
11.2.4 - 2024-06-20
- #5875: Also destruct
TestCase
objects early that use a data provider
11.2.3 - 2024-06-19
- #5870: Do not collect unnecessary information using
debug_backtrace()
11.2.2 - 2024-06-15
- #5861: Destroy
TestCase
object after its test was run
- #5822: PHP deprecations triggered within a closure are not handled correctly
11.2.1 - 2024-06-11
- #5857: Mocked methods cannot be called from the original constructor of a partially mocked class
- #5859: XML Configuration File Migrator does not remove
cacheDirectory
attribute from<coverage>
element when migrating from PHPUnit 11.1 to PHPUnit 11.2
11.2.0 - 2024-06-07
- #5799:
#[CoversTrait]
and#[UsesTrait]
attributes - #5804: Support doubling
readonly
classes - #5811:
assertObjectNotEquals()
- #5800: Support for targeting traits with
#[CoversClass]
and#[UsesClass]
attributes