Releases: sebastianbergmann/phpunit
Releases · sebastianbergmann/phpunit
PHPUnit 12.2.6
PHPUnit 11.5.26
PHPUnit 12.2.5
PHPUnit 11.5.25
PHPUnit 12.2.4
Changed
- Including information about the Git repository (such as the commit hash and branch name) in the Open Test Reporting XML format is now an opt-in feature that can be enabled via the
--include-git-informationCLI option or theincludeGitInformationattribute in the XML configuration file
PHPUnit 12.2.3
Added
- #6236:
failOnPhpunitWarningattribute on the<phpunit>element of the XML configuration file and--fail-on-phpunit-warningCLI option for controlling whether PHPUnit should fail on PHPUnit warnings (default:true) - #6239:
--do-not-fail-on-deprecation,--do-not-fail-on-phpunit-warning,--do-not-fail-on-phpunit-deprecation,--do-not-fail-on-empty-test-suite,--do-not-fail-on-incomplete,--do-not-fail-on-notice,--do-not-fail-on-risky,--do-not-fail-on-skipped, and--do-not-fail-on-warningCLI options --do-not-report-useless-testsCLI option as a replacement for--dont-report-useless-tests
Deprecated
--dont-report-useless-testsCLI option (use--do-not-report-useless-testsinstead)
Fixed
- #6243: Constraints cannot be implemented without using internal class
ExpectationFailedException
PHPUnit 11.5.24
Added
- #6236:
failOnPhpunitWarningattribute on the<phpunit>element of the XML configuration file and--fail-on-phpunit-warningCLI option for controlling whether PHPUnit should fail on PHPUnit warnings (default:true) - #6239:
--do-not-fail-on-deprecation,--do-not-fail-on-phpunit-warning,--do-not-fail-on-phpunit-deprecation,--do-not-fail-on-empty-test-suite,--do-not-fail-on-incomplete,--do-not-fail-on-notice,--do-not-fail-on-risky,--do-not-fail-on-skipped, and--do-not-fail-on-warningCLI options --do-not-report-useless-testsCLI option as a replacement for--dont-report-useless-tests
Deprecated
--dont-report-useless-testsCLI option (use--do-not-report-useless-testsinstead)
Fixed
- #6243: Constraints cannot be implemented without using internal class
ExpectationFailedException
PHPUnit 10.5.47
Added
- #6236:
failOnPhpunitWarningattribute on the<phpunit>element of the XML configuration file and--fail-on-phpunit-warningCLI option for controlling whether PHPUnit should fail on PHPUnit warnings (default:true) - #6239:
--do-not-fail-on-deprecation,--do-not-fail-on-phpunit-warning,--do-not-fail-on-phpunit-deprecation,--do-not-fail-on-empty-test-suite,--do-not-fail-on-incomplete,--do-not-fail-on-notice,--do-not-fail-on-risky,--do-not-fail-on-skipped, and--do-not-fail-on-warningCLI options --do-not-report-useless-testsCLI option as a replacement for--dont-report-useless-tests
Deprecated
--dont-report-useless-testsCLI option (use--do-not-report-useless-testsinstead)
Fixed
- #6243: Constraints cannot be implemented without using internal class
ExpectationFailedException
PHPUnit 12.2.2
Fixed
- #6222: Data Provider seems to mess up Test Dependencies
shortenArraysForExportThresholdXML configuration setting has no effect on all arrays exported for event-related value objects
PHPUnit 11.5.23
Fixed
- #6222: Data Provider seems to mess up Test Dependencies
shortenArraysForExportThresholdXML configuration setting has no effect on all arrays exported for event-related value objects