---
title: "psalm/plugin-phpunit 1.0.0 Breaking Changes on Packagist"
description: "What each psalm/plugin-phpunit release removed, renamed or changed: 10 breaking changes in 4 versions on Packagist, each with its source."
canonical_url: https://since.dev/packages/packagist/psalm/plugin-phpunit
last_updated: 2026-12-04
---

# 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

Latest version `1.3.8`, released December 4, 2026. MIT license. [Source repository](https://github.com/psalm/psalm-plugin-phpunit)

Its 1.0.0 release requires [PHP 8.2](https://since.dev/calendar/php/8.2.md) or later. [PHP end of life dates](https://since.dev/calendar/php.md).

- From [0.22.0](#v-0-22-0) to [1.0.0](#v-1-0-0): 7 breaking changes in 1 version.
- From [0.19.0](#v-0-19-0) to [1.0.0](#v-1-0-0): 9 breaking changes in 3 versions.

## psalm/plugin-phpunit 1.0.0 breaking changes

psalm/plugin-phpunit 1.0.0, released November 10, 2026: 7 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](https://github.com/psalm/psalm-plugin-phpunit/releases/tag/1.0.0)
- **Removed**  

Docblock metadata such as @test and @dataProvider no longer makes a method a test or provider; use the PHP attributes instead. [github.com](https://github.com/psalm/psalm-plugin-phpunit/releases/tag/1.0.0)
- **Behavior changed** `@covers`  

Use the #\[CoversClass\] attribute instead of the @covers docblock tag. [github.com](https://github.com/psalm/psalm-plugin-phpunit/releases/tag/1.0.0)
- **Behavior changed** `@dataProvider`  

Use the #\[DataProvider\] attribute instead of the @dataProvider docblock tag. [github.com](https://github.com/psalm/psalm-plugin-phpunit/releases/tag/1.0.0)
- **Behavior changed** `@test`  

Methods marked with @test in docblocks are no longer treated as tests; use the #\[Test\] attribute. [github.com](https://github.com/psalm/psalm-plugin-phpunit/releases/tag/1.0.0)
- **Behavior changed** `createMockForIntersectionOfInterfaces`  

Typing of intersection mock helpers changed in psalm/plugin-phpunit 1.0.0 [github.com](https://github.com/psalm/psalm-plugin-phpunit/releases/tag/1.0.0)
- **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](https://packagist.org/packages/psalm/plugin-phpunit#1.0.0)

## psalm/plugin-phpunit 0.22.0 breaking changes

psalm/plugin-phpunit 0.22.0, released November 8, 2026: 1 breaking change.

- **Signature changed** `Psalm\PhpUnitPlugin\Hooks\TestCaseHandler`  

Was final class TestCaseHandler implements AfterClassLikeVisitInterface, AfterClassLikeAnalysisInterface, AfterCodebasePopulatedInterface; now final class TestCaseHandler implements AfterClassLikeVisitInterface... [packagist.org](https://packagist.org/packages/psalm/plugin-phpunit#0.22.0)

## psalm/plugin-phpunit 0.20.0 breaking changes

psalm/plugin-phpunit 0.20.0, released March 19, 2026: 1 breaking change.

- **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](https://github.com/psalm/psalm-plugin-phpunit/releases/tag/0.20.0)

## psalm/plugin-phpunit 0.19.0 breaking changes

psalm/plugin-phpunit 0.19.0, released March 15, 2024: 1 breaking change.

- **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](https://github.com/psalm/psalm-plugin-phpunit/releases/tag/0.19.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
