NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #306 most downloaded on Packagist
PHPUnit extensions and rules for PHPStan
Latest stable
2.1.2
Last release 10 days ago
12 Nov 2026
Release timing varies
gaps range from 9 days to 5 months
Nearly every release is documented
notes for 59 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
85 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
ffff35d - Implement assertGreaterThan() and assertLessThan() type narrowing
assertGreaterThan() and assertLessThan() type narrowing (#351)Your coding agent can read these notes before it upgrades. Set up the MCP server →
a31e9de - Merge remote-tracking branch 'origin/2.0.x' into 2.1.x
8dbdc3a - AssertEmptyIsDiscouragedRule: use unique error identifier
AssertEmptyIsDiscouragedRule: in case you are using PHPStan strict-rules assertEmpty: false option, you can ignore the newly added errors by error-identifier phpunit.assertEmpty.
ef0c8f5 - feat: Discourage assert(Not)Empty if "empty" usage is disallowed
33a190a - Resolve nested PHPDoc unions in linear time
f5dc20f - Fix #[RequiresPhpunit] version requirement being evaluated against PHP version
2c07f22 - Replace deprecated actions/create-release with softprops/action-gh-release
#[RequiresPhpunit] in the same way we check #[RequiresPhp] (#308)#[RequiresPhp] (#303)#[RequiresPhp] value and range (#269)6ab598e - DataProviderDataRule: Optimize hot path
0f6ba8e - DataProviderReturnTypeIgnoreExtension - ignore Iterator, Generator, IteratorAggregate too
f7553d6 - Add support for createMockForIntersectionOfInterfaces
45bc1ad - Implement DynamicCallToAssertionIgnoreExtension
e4c5a22 - TestMethodsHelper - class methods cache
5e30669 - Perf: Refactor PHPUnitVersionDetector to use runtime reflection
8d61a58 - Remove checkDataProviderData and introduce reportMissingDataProviderReturnType
cda423c - Implement AttributeRequiresPhpVersionRule
2fe9fbe - Fix AssertSameWithCountRule for recursive count()
9a9b161 - Make AssertEqualsIsDiscouragedRule auto-fixable
0aef32f - Improve logic MockMethodCallRule to search for method even on wrong type
630aa99 - Remove deprecated assert
d09e152 - Fix error message for "assertNotEquals" usage referencing "assertSame" and "assertEquals"
e32ac65 - Support assertNotEquals in AssertEqualsIsDiscouragedRule
2cedfb7 - Merge remote-tracking branch 'origin/1.4.x' into 2.0.x
bec49ea - Merge branch '1.4.x' into 2.0.x
3cc8554 - Fixes after PHPStan update
72a6721 - Use more specific node-type
11d4235 - fix: Make sure Assert::assertIsList correctly asserts an array as list
f3ea021 - Update lock-closed-issues.yml
d5242a5 - Narrow type on assertCount and assertNotCount
70ecacc - AssertTypeSpecifyingExtensionHelper: rootExpr with unknown variable to avoid always-true false positives
614acc1 - Add support for assertObjectHasProperty
assertObjectHasPropertyd8bdab0 - Microoptimize AssertRuleHelper.
c442468 - Fix assertInstanceOf handler
9e1b9de - Warn when trying to cover an interface.
4cc5c6c - MockMethodCallRule - do not report for empty $mockClasses
$mockClasses34ee324 - Fixed false positive when covering a global function.
4a19a3c - Add tip to error when a not fully qualified name is seen in @covers annotation.
7e43c8f - Fix handling assertInstanceOf
4b17a23 - Fix MockMethodCallRule
d77af96 - Fix empty @covers annotation causing a crash.
54a24bd - Add support for data provider attributes
cd9c693 - DataProviderDeclarationRule - report non-static dataProvider only with PHPUnit 10+
f9bfc19 - Report data providers deprecated usage
4c06b7e - Add rule to check @dataProvider
dea1f87 - Be explicit with covers messaging when using @coversDefaultClass and @covers.
09b5c9a - Do not require PHPStan 1.9.0 yet
9b88cef - Add rule that checks for invalid and unrecognized annotations
@covers and @coversDefaultClass for methods and classes- 6b93db7 - Fix assertEmpty
f5b7eb6 - Implement assertEmpty extension
4a3c437 - AssertSameBooleanExpectedRule, AssertSameNullExpectedRule - report only ConstFetch
09133ce - CreateStub returns a Stub
--no-suggest`a316f5d` - Enforce calling parent::setUp() and parent::tearDown()
6c0e48e - Open 1.0-deva316f5d - Enforce calling parent::setUp() and parent::tearDown()88557fc - Improve compatibility with PHPStan 1.04620524 - Improve compatibility with PHPParser 4.13.0234cb55 - Constrain lowest nikic/php-parser to 4.13.05d50142 - Improve compatibility with PHPStan 1.054ed35b - Add type specifying support for classes extending Assert9eb88c9 - Improve compatibility with PHPStan 1.0`2968a62` - Fix PHP 8.1 compatibility
`6aaff11` - Add support for assertArrayHasKey
6aaff11 - Add support for assertArrayHasKey (#100)`534606b` - Drop Phing for Makefile
`ab44aec` - Allow toggling union to intersection type conversion
`ef674b8` - Bump minimum versions to prevent deprecations while running in lowest mode
7c54b2d - Use the maintained version of php-parallel-linte5edd1c - Travis > Test on PHP 7.3 and 7.40adbd9f - Updated coding standard that can run on PHP 7.4ef674b8 - Bump minimum versions to prevent deprecations while running in lowest mode7bd24ab - Use GitHub Actions instead of Travis CI432575b - Automatic release workflowNothing published for this version
One column per quarter.