Added
- #6297:
--check-php-configuration
CLI option for checking whether PHP is configured for testing
Changed
#[IgnorePhpunitDeprecations]
is now considered for test runner deprecations (where applicable)
Fixed
- #6160: Baseline file in a subdirectory contains absolute paths
- Errors due to invalid data provided using
#[TestWith]
or#[TestWithJson]
attributes are now properly reported - The
DataProviderMethodFinished
event is now also emitted when the provided data set has an invalid key
Learn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
- You can follow @phpunit@phpc.social to stay up to date with PHPUnit's development.
- You can subscribe to the PHPUnit Updates newsletter to receive updates about and tips for PHPUnit.