Skip to content

Releases: sebastianbergmann/phpunit

PHPUnit 11.4.3

28 Oct 13:09
11.4.3
e8e8ed1
Compare
Choose a tag to compare

Changed

  • #6010: Improve parameter name for assertGreaterThan(), assertGreaterThanOrEqual(), assertLessThan(), and assertLessThanOrEqual()
  • #6012: Remove empty lines between TeamCity events

Fixed

  • #6017: Deprecation Triggers are not registered when Process Isolation is used

How to install or update PHPUnit

PHPUnit 10.5.38

28 Oct 13:09
10.5.38
a86773b
Compare
Choose a tag to compare

Changed

  • #6012: Remove empty lines between TeamCity events

How to install or update PHPUnit

PHPUnit 11.4.2

19 Oct 13:06
11.4.2
1863643
Compare
Choose a tag to compare

Changed

  • #5989: Disable Xdebug in subprocesses when it is not used

Fixed

  • #5844: Error handlers that are not callable outside the scope they were registered in are not handled correctly
  • #5982: Typo in exception message

How to install or update PHPUnit

PHPUnit 10.5.37

19 Oct 13:06
10.5.37
c7cffa0
Compare
Choose a tag to compare

Fixed

  • #5982: Typo in exception message

How to install or update PHPUnit

PHPUnit 11.4.1

08 Oct 15:39
11.4.1
7875627
Compare
Choose a tag to compare

Changed

  • Updated regular expressions used by StringMatchesFormatDescription constraint to be consistent with PHP's run-tests.php

Fixed

  • #5977: TestDox result collector does not correctly handle baseline-ignored E_DEPRECATED issues

How to install or update PHPUnit

PHPUnit 10.5.36

08 Oct 15:37
10.5.36
aa0a8ce
Compare
Choose a tag to compare

Changed

  • #5957: Skip data provider build when requirements are not satisfied
  • #5969: Check for requirements before creating a separate process
  • Updated regular expressions used by StringMatchesFormatDescription constraint to be consistent with PHP's run-tests.php

Fixed

  • #5965: PHPUnit\Framework\Exception does not handle string error codes (PDOException with error code 'HY000', for example)

How to install or update PHPUnit

PHPUnit 11.4.0

05 Oct 08:42
11.4.0
89fe0c5
Compare
Choose a tag to compare

Changed

  • #5915: Bootstrap extensions before building test suite
  • #5917: Seal event facade before loading the test suite
  • #5923: Filter configured deprecation triggers when displaying deprecation details
  • #5927: #[RequiresPhpunitExtension] attribute
  • #5928: Filter tests based on the PHP extensions they require
  • #5964: Better error message when data provider is invalid
  • The XML configuration file generator now references vendor/phpunit/phpunit/phpunit.xsd (instead of https://schema.phpunit.de/X.Y/phpunit.xsd) when PHPUnit was installed using Composer and phpunit --generate-configuration was invoked in the directory where vendor is located
  • The --migrate-configuration command no longer replaces vendor/phpunit/phpunit/phpunit.xsd with https://schema.phpunit.de/X.Y/phpunit.xsd
  • The output of --list-groups now shows how many tests a group contains
  • The output of --list-suites now shows how many tests a test suite contains

Deprecated

  • #5951: includeUncoveredFiles configuration option
  • #5958: Support for #[CoversTrait] and #[UsesTrait] attributes
  • #5960: Support for targeting trait methods with the #[CoversMethod] and #[UsesMethod] attributes (and respective annotations)

How to install or update PHPUnit

PHPUnit 11.3.6

19 Sep 11:09
11.3.6
d62c45a
Compare
Choose a tag to compare

Changed

  • #5956: Deprecation of the E_STRICT constant in PHP 8.4

Fixed

  • #5950: TestDox text should not be trim()med when it contains $ character
  • The attribute parser will no longer try to instantiate attribute classes that do not exist

How to install or update PHPUnit

PHPUnit 10.5.35

19 Sep 11:08
10.5.35
7ac8b4e
Compare
Choose a tag to compare

Changed

  • #5956: Deprecation of the E_STRICT constant in PHP 8.4

Fixed

  • #5950: TestDox text should not be trim()med when it contains $ character
  • The attribute parser will no longer try to instantiate attribute classes that do not exist

How to install or update PHPUnit

PHPUnit 9.6.21

19 Sep 11:08
9.6.21
de6abf3
Compare
Choose a tag to compare

Changed

  • #5956: Deprecation of the E_STRICT constant in PHP 8.4
  • Removed .phpstorm.meta.php file as methods such as TestCase::createStub() use generics / template types for their return types and PhpStorm, for example, uses that information

How to install or update PHPUnit