Skip to content

Releases: sebastianbergmann/phpunit

PHPUnit 12.2.6

04 Jul 06:01
12.2.6
638644c

Choose a tag to compare

Fixed

  • #6104: Test with dependencies and data provider fails
  • #6163: @no-named-arguments leads to static analysis errors for variadic arguments

How to install or update PHPUnit

PHPUnit 11.5.26

04 Jul 05:59
11.5.26
4ad8fe2

Choose a tag to compare

Fixed

  • #6104: Test with dependencies and data provider fails
  • #6163: @no-named-arguments leads to static analysis errors for variadic arguments

How to install or update PHPUnit

PHPUnit 12.2.5

27 Jun 04:39
12.2.5
b71849b

Choose a tag to compare

Fixed

  • #6249: No meaningful error when <testsuite> element is missing required name attribute

How to install or update PHPUnit

PHPUnit 11.5.25

27 Jun 04:39
11.5.25
864ab32

Choose a tag to compare

Fixed

  • #6249: No meaningful error when <testsuite> element is missing required name attribute

How to install or update PHPUnit

PHPUnit 12.2.4

26 Jun 15:06
12.2.4
63f7846

Choose a tag to compare

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-information CLI option or the includeGitInformation attribute in the XML configuration file

How to install or update PHPUnit

PHPUnit 12.2.3

20 Jun 11:37
12.2.3
60a8ea2

Choose a tag to compare

Added

  • #6236: failOnPhpunitWarning attribute on the <phpunit> element of the XML configuration file and --fail-on-phpunit-warning CLI 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-warning CLI options
  • --do-not-report-useless-tests CLI option as a replacement for --dont-report-useless-tests

Deprecated

  • --dont-report-useless-tests CLI option (use --do-not-report-useless-tests instead)

Fixed

  • #6243: Constraints cannot be implemented without using internal class ExpectationFailedException

How to install or update PHPUnit

PHPUnit 11.5.24

20 Jun 11:37
11.5.24
6b07ab1

Choose a tag to compare

Added

  • #6236: failOnPhpunitWarning attribute on the <phpunit> element of the XML configuration file and --fail-on-phpunit-warning CLI 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-warning CLI options
  • --do-not-report-useless-tests CLI option as a replacement for --dont-report-useless-tests

Deprecated

  • --dont-report-useless-tests CLI option (use --do-not-report-useless-tests instead)

Fixed

  • #6243: Constraints cannot be implemented without using internal class ExpectationFailedException

How to install or update PHPUnit

PHPUnit 10.5.47

20 Jun 11:37
10.5.47
3637b3e

Choose a tag to compare

Added

  • #6236: failOnPhpunitWarning attribute on the <phpunit> element of the XML configuration file and --fail-on-phpunit-warning CLI 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-warning CLI options
  • --do-not-report-useless-tests CLI option as a replacement for --dont-report-useless-tests

Deprecated

  • --dont-report-useless-tests CLI option (use --do-not-report-useless-tests instead)

Fixed

  • #6243: Constraints cannot be implemented without using internal class ExpectationFailedException

How to install or update PHPUnit

PHPUnit 12.2.2

13 Jun 05:50
12.2.2
19e25c2

Choose a tag to compare

Fixed

  • #6222: Data Provider seems to mess up Test Dependencies
  • shortenArraysForExportThreshold XML configuration setting has no effect on all arrays exported for event-related value objects

How to install or update PHPUnit

PHPUnit 11.5.23

13 Jun 05:48
11.5.23
86ebcd8

Choose a tag to compare

Fixed

  • #6222: Data Provider seems to mess up Test Dependencies
  • shortenArraysForExportThreshold XML configuration setting has no effect on all arrays exported for event-related value objects

How to install or update PHPUnit