All notable changes of the PHPUnit 9.6 release series are documented in this file using the Keep a CHANGELOG principles.
9.6.8 - 2023-05-11
- #5345: No stack trace shown for previous exceptions during bootstrap
9.6.7 - 2023-04-14
- Tests that have
@doesNotPerformAssertions
do not contribute to code coverage
9.6.6 - 2023-03-27
- #5270:
GlobalState::getIniSettingsAsString()
generates code that triggers warnings
9.6.5 - 2023-03-09
- Backported the HTML and CSS improvements made to the
--testdox-html
from PHPUnit 10
- #5205: Wrong default value for optional parameter of
PHPUnit\Util\Test::parseTestMethodAnnotations()
causesReflectionException
9.6.4 - 2023-02-27
- #5186: SBOM does not validate
9.6.3 - 2023-02-04
- #5164:
markTestSkipped()
not handled correctly when called in "before first test" method
9.6.2 - 2023-02-04
- #4618: Support for generators in
assertCount()
etc. is not marked as deprecated in PHPUnit 9.6
9.6.1 - 2023-02-03
- #5073:
--no-extensions
CLI option only prevents extension PHARs from being loaded - #5160: Deprecate
assertClassHasAttribute()
,assertClassNotHasAttribute()
,assertClassHasStaticAttribute()
,assertClassNotHasStaticAttribute()
,assertObjectHasAttribute()
,assertObjectNotHasAttribute()
,classHasAttribute()
,classHasStaticAttribute()
, andobjectHasAttribute()
9.6.0 - 2023-02-03
- #5062: Deprecate
expectDeprecation()
,expectDeprecationMessage()
,expectDeprecationMessageMatches()
,expectError()
,expectErrorMessage()
,expectErrorMessageMatches()
,expectNotice()
,expectNoticeMessage()
,expectNoticeMessageMatches()
,expectWarning()
,expectWarningMessage()
, andexpectWarningMessageMatches()
- #5063: Deprecate
withConsecutive()
- #5064: Deprecate
PHPUnit\Framework\TestCase::getMockClass()
- #5132: Deprecate
Test
suffix for abstract test case classes