Skip to content

Releases: sebastianbergmann/phpunit

PHPUnit 11.5.32

12 Aug 07:37
11.5.32
101e132

Choose a tag to compare

Changed

  • #6308: Improve output of --check-php-configuration
  • The version number for the test result cache file has been incremented to reflect that its structure for PHPUnit 11.5 is not compatible with its structure for PHPUnit 8.5 and PHPUnit 9.6

Fixed

  • #6281: Exceptions raised in after-test method are not reported for skipped tests

Learn how to install or update PHPUnit 11.5 in the documentation.

Keep up to date with PHPUnit:

  • You can follow @[email protected] to stay up to date with PHPUnit's development.
  • You can subscribe to the PHPUnit Updates newsletter to receive updates about and tips for PHPUnit.

PHPUnit 10.5.51

12 Aug 07:37
10.5.51
ace160e

Choose a tag to compare

Changed

  • #6308: Improve output of --check-php-configuration
  • The version number for the test result cache file has been incremented to reflect that its structure for PHPUnit 10.5 is not compatible with its structure for PHPUnit 8.5 and PHPUnit 9.6

Learn how to install or update PHPUnit 10.5 in the documentation.

Keep up to date with PHPUnit:

  • You can follow @[email protected] to stay up to date with PHPUnit's development.
  • You can subscribe to the PHPUnit Updates newsletter to receive updates about and tips for PHPUnit.

PHPUnit 12.3.3

11 Aug 05:38
12.3.3
0b18fea

Choose a tag to compare

Fixed

  • #6304: PHPUnit 11.5.29 hangs when a test runner deprecation is triggered and process isolation is used (this reverts "#[IgnorePhpunitDeprecations] is now considered for test runner deprecations" from PHPUnit 12.3.1)

Learn how to install or update PHPUnit 12.3 in the documentation.

Keep up to date with PHPUnit:

  • You can follow @[email protected] to stay up to date with PHPUnit's development.
  • You can subscribe to the PHPUnit Updates newsletter to receive updates about and tips for PHPUnit.

PHPUnit 11.5.31

11 Aug 05:38
11.5.31
fc44414

Choose a tag to compare

Fixed

  • #6304: PHPUnit 11.5.29 hangs when a test runner deprecation is triggered and process isolation is used (this reverts "#[IgnorePhpunitDeprecations] is now considered for test runner deprecations" from PHPUnit 11.5.29)

Learn how to install or update PHPUnit 11.5 in the documentation.

Keep up to date with PHPUnit:

  • You can follow @[email protected] to stay up to date with PHPUnit's development.
  • You can subscribe to the PHPUnit Updates newsletter to receive updates about and tips for PHPUnit.

PHPUnit 12.3.2

10 Aug 08:37
12.3.2
ac6952c

Choose a tag to compare

Changed

  • #6300: Emit warning when the name of a data provider method begins with test
  • Do not use SplObjectStorage methods that will be deprecated in PHP 8.5

Learn how to install or update PHPUnit 12.3 in the documentation.

Keep up to date with PHPUnit:

  • You can follow @[email protected] to stay up to date with PHPUnit's development.
  • You can subscribe to the PHPUnit Updates newsletter to receive updates about and tips for PHPUnit.

PHPUnit 11.5.30

10 Aug 08:38
11.5.30
33fa3d1

Choose a tag to compare

Changed

  • #6300: Emit warning when the name of a data provider method begins with test
  • Do not use SplObjectStorage methods that will be deprecated in PHP 8.5

Learn how to install or update PHPUnit 11.5 in the documentation.

Keep up to date with PHPUnit:

  • You can follow @[email protected] to stay up to date with PHPUnit's development.
  • You can subscribe to the PHPUnit Updates newsletter to receive updates about and tips for PHPUnit.

PHPUnit 10.5.50

10 Aug 08:35
10.5.50
a858178

Choose a tag to compare

Changed

  • #6300: Emit warning when the name of a data provider method begins with test
  • Do not use SplObjectStorage methods that will be deprecated in PHP 8.5

Learn how to install or update PHPUnit 10.5 in the documentation.

Keep up to date with PHPUnit:

  • You can follow @[email protected] to stay up to date with PHPUnit's development.
  • You can subscribe to the PHPUnit Updates newsletter to receive updates about and tips for PHPUnit.

PHPUnit 9.6.24

10 Aug 08:33
9.6.24
ea49afa

Choose a tag to compare

Changed

  • Do not use ReflectionProperty::setAccessible() with PHP >= 8.1
  • Do not use SplObjectStorage methods that will be deprecated in PHP 8.5

Learn how to install or update PHPUnit 9.6 in the documentation.

Keep up to date with PHPUnit:

  • You can follow @[email protected] to stay up to date with PHPUnit's development.
  • You can subscribe to the PHPUnit Updates newsletter to receive updates about and tips for PHPUnit.

PHPUnit 8.5.43

10 Aug 08:32
8.5.43
e2e36f0

Choose a tag to compare

Changed

  • Do not use ReflectionProperty::setAccessible() with PHP >= 8.1
  • Do not use SplObjectStorage methods that will be deprecated in PHP 8.5

Learn how to install or update PHPUnit 8.5 in the documentation.

Keep up to date with PHPUnit:

  • You can follow @[email protected] to stay up to date with PHPUnit's development.
  • You can subscribe to the PHPUnit Updates newsletter to receive updates about and tips for PHPUnit.

PHPUnit 12.3.1

09 Aug 07:13
12.3.1
5fd1b6e

Choose a tag to compare

Added

  • #6297: --check-php-configuration CLI option for checking whether PHP is configured for testing

Changed

  • #[IgnorePhpunitDeprecations] is now considered for test runner deprecations (where applicable)

Fixed

  • #6160: Baseline file in a subdirectory contains absolute paths
  • #6294: Silent failure of PHP fatal errors
  • Errors due to invalid data provided using #[TestWith] or #[TestWithJson] attributes are now properly reported
  • The DataProviderMethodFinished event is now also emitted when the provided data set has an invalid key

Learn how to install or update PHPUnit 12.3 in the documentation.

Keep up to date with PHPUnit:

  • You can follow @[email protected] to stay up to date with PHPUnit's development.
  • You can subscribe to the PHPUnit Updates newsletter to receive updates about and tips for PHPUnit.