Releases: sebastianbergmann/phpunit
Releases · sebastianbergmann/phpunit
PHPUnit 11.5.32
Changed
- #6308: Improve output of
--check-php-configuration - The version number for the test result cache file has been incremented to reflect that its structure for PHPUnit 11.5 is not compatible with its structure for PHPUnit 8.5 and PHPUnit 9.6
Fixed
- #6281: Exceptions raised in after-test method are not reported for skipped tests
Learn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
- You can follow @[email protected] 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.
PHPUnit 10.5.51
Changed
- #6308: Improve output of
--check-php-configuration - The version number for the test result cache file has been incremented to reflect that its structure for PHPUnit 10.5 is not compatible with its structure for PHPUnit 8.5 and PHPUnit 9.6
Learn how to install or update PHPUnit 10.5 in the documentation.
Keep up to date with PHPUnit:
- You can follow @[email protected] 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.
PHPUnit 12.3.3
Fixed
- #6304: PHPUnit 11.5.29 hangs when a test runner deprecation is triggered and process isolation is used (this reverts "
#[IgnorePhpunitDeprecations]is now considered for test runner deprecations" from PHPUnit 12.3.1)
Learn how to install or update PHPUnit 12.3 in the documentation.
Keep up to date with PHPUnit:
- You can follow @[email protected] 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.
PHPUnit 11.5.31
Fixed
- #6304: PHPUnit 11.5.29 hangs when a test runner deprecation is triggered and process isolation is used (this reverts "
#[IgnorePhpunitDeprecations]is now considered for test runner deprecations" from PHPUnit 11.5.29)
Learn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
- You can follow @[email protected] 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.
PHPUnit 12.3.2
Changed
- #6300: Emit warning when the name of a data provider method begins with
test - Do not use
SplObjectStoragemethods that will be deprecated in PHP 8.5
Learn how to install or update PHPUnit 12.3 in the documentation.
Keep up to date with PHPUnit:
- You can follow @[email protected] 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.
PHPUnit 11.5.30
Changed
- #6300: Emit warning when the name of a data provider method begins with
test - Do not use
SplObjectStoragemethods that will be deprecated in PHP 8.5
Learn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
- You can follow @[email protected] 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.
PHPUnit 10.5.50
Changed
- #6300: Emit warning when the name of a data provider method begins with
test - Do not use
SplObjectStoragemethods that will be deprecated in PHP 8.5
Learn how to install or update PHPUnit 10.5 in the documentation.
Keep up to date with PHPUnit:
- You can follow @[email protected] 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.
PHPUnit 9.6.24
Changed
- Do not use
ReflectionProperty::setAccessible()with PHP >= 8.1 - Do not use
SplObjectStoragemethods that will be deprecated in PHP 8.5
Learn how to install or update PHPUnit 9.6 in the documentation.
Keep up to date with PHPUnit:
- You can follow @[email protected] 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.
PHPUnit 8.5.43
Changed
- Do not use
ReflectionProperty::setAccessible()with PHP >= 8.1 - Do not use
SplObjectStoragemethods that will be deprecated in PHP 8.5
Learn how to install or update PHPUnit 8.5 in the documentation.
Keep up to date with PHPUnit:
- You can follow @[email protected] 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.
PHPUnit 12.3.1
Added
- #6297:
--check-php-configurationCLI 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
- #6294: Silent failure of PHP fatal errors
- Errors due to invalid data provided using
#[TestWith]or#[TestWithJson]attributes are now properly reported - The
DataProviderMethodFinishedevent is now also emitted when the provided data set has an invalid key
Learn how to install or update PHPUnit 12.3 in the documentation.
Keep up to date with PHPUnit:
- You can follow @[email protected] 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.