Skip to content

Releases: sebastianbergmann/phpunit

PHPUnit 11.5.53

10 Feb 12:29
Immutable release. Only release title and notes can be modified.
11.5.53
a997a65

Choose a tag to compare

Fixed

  • #6503: Temporary file used by SourceMapper may be deleted prematurely when multiple PHPUnit processes run in parallel

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

Keep up to date with PHPUnit:

  • You can follow @phpunit@phpc.social 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 13.0.1

08 Feb 07:10
Immutable release. Only release title and notes can be modified.
13.0.1
35b8abc

Choose a tag to compare

Fixed

  • #6495: Source map for issue trigger identification is regenerated in process isolation child processes
  • #6497: method() returns InvocationMocker instead of InvocationStubber for test stubs

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

Keep up to date with PHPUnit:

  • You can follow @phpunit@phpc.social 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.5.10

08 Feb 07:08
Immutable release. Only release title and notes can be modified.
12.5.10
1686e30

Choose a tag to compare

Fixed

  • #6495: Source map for issue trigger identification is regenerated in process isolation child processes

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

Keep up to date with PHPUnit:

  • You can follow @phpunit@phpc.social 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.52

08 Feb 07:06
Immutable release. Only release title and notes can be modified.
11.5.52
b287d32

Choose a tag to compare

Fixed

  • #6495: Source map for issue trigger identification is regenerated in process isolation child processes

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

Keep up to date with PHPUnit:

  • You can follow @phpunit@phpc.social 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 13.0.0

06 Feb 05:04
Immutable release. Only release title and notes can be modified.
13.0.0
e045b31

Choose a tag to compare

Added

  • #6450: TestCase::invokeTestMethod() method for customizing test method invocation
  • #6455: withParameterSetsInOrder() and withParameterSetsInAnyOrder() for expecting calls to the same method of a mock object but with different arguments
  • #6466: Sealed test doubles
  • #6468: Configuration option to require sealed mock objects
  • #6477: assertArraysAreIdentical(), assertArraysAreIdenticalIgnoringOrder(), assertArraysHaveIdenticalValues(), assertArraysHaveIdenticalValuesIgnoringOrder(), assertArraysAreEqual(), assertArraysAreEqualIgnoringOrder(), assertArraysHaveEqualValues(), and assertArraysHaveEqualValuesIgnoringOrder() assertions
  • --test-files-file <file> CLI option to configure a file that contains the paths to the test files to be loaded (one file per line); use this when using CLI arguments is not an option due to argument length limitations

Deprecated

  • #6461: any() matcher (hard deprecation)

Removed

  • #6054: Assert::isType()
  • #6057: assertContainsOnly() and assertNotContainsOnly()
  • #6061: containsOnly()
  • #6076: Support for PHP 8.3
  • #6141: testClassName() method on event value objects for hook methods called for test methods
  • #6230: Configuration::includeTestSuite() and Configuration::excludeTestSuite()
  • #6241: --dont-report-useless-tests CLI option
  • #6247: Support for using #[CoversNothing] on a test method
  • #6285: #[RunClassInSeparateProcess] attribute
  • #6356: Support for version constraint string argument without explicit version comparison operator

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

Keep up to date with PHPUnit:

  • You can follow @phpunit@phpc.social 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.5.9

05 Feb 08:01
Immutable release. Only release title and notes can be modified.
12.5.9
83d4c15

Choose a tag to compare

Added

  • #6488: Allow disabling issue trigger identification for improved performance

Fixed

  • #6486: Incorrect file name reported for errors for test methods declared in traits
  • #6490: Incorrect test count when tests are skipped in before-class method

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

Keep up to date with PHPUnit:

  • You can follow @phpunit@phpc.social 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.51

05 Feb 08:00
Immutable release. Only release title and notes can be modified.
11.5.51
ad14159

Choose a tag to compare

Added

  • #6488: Allow disabling issue trigger identification for improved performance

Fixed

  • #6486: Incorrect file name reported for errors for test methods declared in traits
  • #6490: Incorrect test count when tests are skipped in before-class method

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

Keep up to date with PHPUnit:

  • You can follow @phpunit@phpc.social 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.5.8

27 Jan 06:27
Immutable release. Only release title and notes can be modified.
12.5.8
37ddb96

Choose a tag to compare

Changed

  • To prevent Poisoned Pipeline Execution (PPE) attacks using prepared .coverage files in pull requests, a PHPT test will no longer be run if the temporary file for writing code coverage information already exists before the test runs

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

Keep up to date with PHPUnit:

  • You can follow @phpunit@phpc.social 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.50

27 Jan 06:00
Immutable release. Only release title and notes can be modified.
11.5.50
fdfc727

Choose a tag to compare

Changed

  • To prevent Poisoned Pipeline Execution (PPE) attacks using prepared .coverage files in pull requests, a PHPT test will no longer be run if the temporary file for writing code coverage information already exists before the test runs

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

Keep up to date with PHPUnit:

  • You can follow @phpunit@phpc.social 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.63

27 Jan 05:53
Immutable release. Only release title and notes can be modified.
10.5.63
3319826

Choose a tag to compare

Fixed

  • Regression introduced in PHPUnit 9.6.33

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

Keep up to date with PHPUnit:

  • You can follow @phpunit@phpc.social 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.