psalm/plugin-phpunit breaking changes
psalm/plugin-phpunit 1.0.0 (November 10, 2026) is its newest release with breaking changes, 7 of them. The first: psalm/plugin-phpunit 1.0.0 drops support for PHP 8.1 and requires PHP 8.2 or later. Every breaking API change we have recorded in psalm/plugin-phpunit on Packagist: 10 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 1.3.8, released December 4, 2026. MIT license. Source repository
Its 1.0.0 release requires PHP 8.2 or later. PHP end of life dates.
- From 0.22.0 to 1.0.0: 7 breaking changes in 1 version.
- From 0.19.0 to 1.0.0: 9 breaking changes in 3 versions.
psalm/plugin-phpunit 1.0.0 breaking changes
- Removed
The plugin now requires PHP 8.2, PHPUnit 11 and Psalm 7.2 or newer. Projects on older versions must stay on 0.22. github.com - Removed
Docblock metadata such as @test and @dataProvider no longer makes a method a test or provider; use the PHP attributes instead. github.com - Behavior changed
@covers
Use the #[CoversClass] attribute instead of the @covers docblock tag. github.com - Behavior changed
@dataProvider
Use the #[DataProvider] attribute instead of the @dataProvider docblock tag. github.com - Behavior changed
@test
Methods marked with @test in docblocks are no longer treated as tests; use the #[Test] attribute. github.com - Behavior changed
createMockForIntersectionOfInterfaces
Typing of intersection mock helpers changed in psalm/plugin-phpunit 1.0.0 github.com - Signature changed
Psalm\PhpUnitPlugin\Plugin::__invoke
Was public function __invoke(RegistrationInterface $psalm, ?SimpleXMLElement $config = null): void; now public function __invoke(RegistrationInterface $psalm, ?\SimpleXMLElement $config = null): void. packagist.org
psalm/plugin-phpunit 0.22.0 breaking changes
- Signature changed
Psalm\PhpUnitPlugin\Hooks\TestCaseHandler
Was final class TestCaseHandler implements AfterClassLikeVisitInterface, AfterClassLikeAnalysisInterface, AfterCodebasePopulatedInterface; now final class TestCaseHandler implements AfterClassLikeVisitInterface... packagist.org
psalm/plugin-phpunit 0.20.0 breaking changes
- Configuration changed
The plugin switched to psalm/psalm-plugin-api 0.1.0 and now targets Psalm v7 beta, so users on older Psalm versions may need to check compatibility. github.com
psalm/plugin-phpunit 0.19.0 breaking changes
- Removed
This release supports Psalm 6 and no longer supports Psalm 4. Projects still on Psalm 4 must upgrade Psalm to 5 or 6 before using this plugin version. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.