---
title: "phpstan/phpstan-doctrine 2.0.0 Breaking Changes on Packagist"
description: "What each phpstan/phpstan-doctrine release removed, renamed or changed: 9 breaking changes in 1 version on Packagist, each with its source."
canonical_url: https://since.dev/packages/packagist/phpstan/phpstan-doctrine
last_updated: 2026-12-04
---

# phpstan/phpstan-doctrine breaking changes

phpstan/phpstan-doctrine 2.0.0 (November 11, 2024) is its newest release with breaking changes, 9 of them. The first: Removes options that existed only for performance reasons in phpstan/phpstan-doctrine 2.0.0. Every breaking API change we have recorded in phpstan/phpstan-doctrine on Packagist: 9 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.1.4`, released December 3, 2026. MIT license. [Source repository](https://github.com/phpstan/phpstan-doctrine)

Its 2.0.0 release drops PHP 7.2 and 7.3. [PHP end of life dates](https://since.dev/calendar/php.md).

## phpstan/phpstan-doctrine 2.0.0 breaking changes

phpstan/phpstan-doctrine 2.0.0, released November 11, 2024: 9 breaking changes.

- **Removed**  

Options that existed only for performance reasons were removed in this release, so configurations that set them need to be cleaned up. [github.com](https://github.com/phpstan/phpstan-doctrine/releases/tag/2.0.0)
- **Removed**  

The package no longer tests against PHP 7.2 and 7.3, so those PHP versions are no longer supported. [github.com](https://github.com/phpstan/phpstan-doctrine/releases/tag/2.0.0)
- **Removed** `PHPStan\Type\Doctrine\QueryBuilder\SimpleQueryBuilderType`  

PHPStan\\Type\\Doctrine\\QueryBuilder\\SimpleQueryBuilderType was removed in phpstan/phpstan-doctrine 2.0.0 [packagist.org](https://packagist.org/packages/phpstan/phpstan-doctrine#2.0.0)
- **Signature changed** `PHPStan\Rules\Doctrine\ORM\EntityColumnRule::__construct`  

Was public function \_\_construct(ObjectMetadataResolver $objectMetadataResolver, DescriptorRegistry $descriptorRegistry, ReflectionProvider $reflectionProvider, bool $reportUnknownTypes, bool $allowNullablePropertyForRequiredField, bool... [packagist.org](https://packagist.org/packages/phpstan/phpstan-doctrine#2.0.0)
- **Signature changed** `PHPStan\Rules\Doctrine\ORM\EntityRelationRule::__construct`  

Was public function \_\_construct(ObjectMetadataResolver $objectMetadataResolver, bool $allowNullablePropertyForRequiredField, bool $bleedingEdge); now public function \_\_construct(ObjectMetadataResolver $objectMetadataResolver, bool... [packagist.org](https://packagist.org/packages/phpstan/phpstan-doctrine#2.0.0)
- **Signature changed** `PHPStan\Type\Doctrine\Query\QueryType::isSuperTypeOf`  

Was public function isSuperTypeOf(Type $type): TrinaryLogic; now public function isSuperTypeOf(Type $type): IsSuperTypeOfResult. [packagist.org](https://packagist.org/packages/phpstan/phpstan-doctrine#2.0.0)
- **Signature changed** `PHPStan\Type\Doctrine\QueryBuilder\BranchingQueryBuilderType::isSuperTypeOf`  

Was public function isSuperTypeOf(Type $type): TrinaryLogic; now public function isSuperTypeOf(Type $type): IsSuperTypeOfResult. [packagist.org](https://packagist.org/packages/phpstan/phpstan-doctrine#2.0.0)
- **Signature changed** `PHPStan\Type\Doctrine\QueryBuilder\CreateQueryBuilderDynamicReturnTypeExtension::__construct`  

Was public function \_\_construct(?string $queryBuilderClass, bool $fasterVersion); now public function \_\_construct(?string $queryBuilderClass). [packagist.org](https://packagist.org/packages/phpstan/phpstan-doctrine#2.0.0)
- **Signature changed** `PHPStan\Type\Doctrine\QueryBuilder\OtherMethodQueryBuilderParser::__construct`  

Was public function \_\_construct(bool $descendIntoOtherMethods, Parser $parser, Container $container); now public function \_\_construct(Parser $parser, Container $container). [packagist.org](https://packagist.org/packages/phpstan/phpstan-doctrine#2.0.0)

## Related packages

- [phpstan/phpstan](https://since.dev/packages/packagist/phpstan/phpstan.md)
- [phpstan/phpstan-nette](https://since.dev/packages/packagist/phpstan/phpstan-nette.md)
- [phpstan/phpstan-strict-rules](https://since.dev/packages/packagist/phpstan/phpstan-strict-rules.md)
- [phpstan/phpstan-symfony](https://since.dev/packages/packagist/phpstan/phpstan-symfony.md)

## 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.
