All notable changes of the PHPUnit 13.0 release series are documented in this file using the Keep a CHANGELOG principles.
13.0.0 - 2026-02-06
- #6450:
TestCase::invokeTestMethod()method for customizing test method invocation - #6455:
withParameterSetsInOrder()andwithParameterSetsInAnyOrder()for expecting calls to the same method of a mock object but with different arguments
- #6461:
any()matcher (hard deprecation)
- #6054:
Assert::isType() - #6057:
assertContainsOnly()andassertNotContainsOnly() - #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()andConfiguration::excludeTestSuite() - #6241:
--dont-report-useless-testsCLI 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