Medium, High)、Warning、Dangerの色を 任意の色へと指定できるようになりました <logging> <log type="coverage-html" target="report" colorSuccessLow="#{any color code}" colorSuccessMedium="#{any color code}" colorSuccessHigh="#{any color code}" colorWarning="#{any color code}" colorDanger="#{any color code}" /> </logging>
#4676: Event System for extending PHPUnit's test runner • #3389: Remove PHPUnit\Framework\TestListener and PHPUnit\Framework\TestListenerDefaultImplementation • #4596: Remove Test Hooks
A test method now continues execution after test(ed) code triggered E_(USER_)DEPRECATED, E_(USER_)NOTICE, E_STRICT, or E_(USER_)WARNING • The CLI test runner now only stops after a test errored when --stop-on-error or --stop-on-defect is used • The CLI test runner now only stops after a test failed when --stop-on-failure or --stop-on-defect is used • The CLI test runner now only stops after a test triggered a warning when --stop-on-warning or --stop-on-defect is used • The CLI test runner now only stops after a test was marked as risky when --stop-on-risky or --stop-on-defect is used • The CLI test runner now only stops after a test was skipped when --stop-on-skipped is used
The CLI test runner now only stops after a test was marked as incomplete when --stop-on-incomplete is used • #3777: Remove PHPUnit\Framework\Error* classes • Removed the expectDeprecation(), expectDeprecationMessage(), and expectDeprecationMessageMatches() methods • Removed the expectError(), expectErrorMessage(), and expectErrorMessageMatches() methods • Removed the expectNotice(), expectNoticeMessage(), and expectNoticeMessageMatches() methods • Removed the expectWarning(), expectWarningMessage(), and expectWarningMessageMatches() methods
#4502: Support PHP 8 attributes for adding metadata to test classes and test methods as well as tested code units • #4603: Use "property" instead of "attribute" for configuring the backup of static fields • #4601: Remove assertions that operate on class/object properties
#4893: Make path to custom.css for HTML code coverage report configurable DataProviderの仕様変更 • Using a non-static method as a data provider is now deprecated • Using a non-public method as a data provider is now deprecated • Declaring a data provider method to require an argument is now deprecated