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
On this page
Latest version 2.1.4, released December 3, 2026. MIT license. Source repository
Its 2.0.0 release drops PHP 7.2 and 7.3. PHP end of life dates.
phpstan/phpstan-doctrine 2.0.0 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 - Removed
The package no longer tests against PHP 7.2 and 7.3, so those PHP versions are no longer supported. github.com - Removed
PHPStan\Type\Doctrine\QueryBuilder\SimpleQueryBuilderType
PHPStan\Type\Doctrine\QueryBuilder\SimpleQueryBuilderType was removed in phpstan/phpstan-doctrine 2.0.0 packagist.org - 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 - 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 - Signature changed
PHPStan\Type\Doctrine\Query\QueryType::isSuperTypeOf
Was public function isSuperTypeOf(Type $type): TrinaryLogic; now public function isSuperTypeOf(Type $type): IsSuperTypeOfResult. packagist.org - Signature changed
PHPStan\Type\Doctrine\QueryBuilder\BranchingQueryBuilderType::isSuperTypeOf
Was public function isSuperTypeOf(Type $type): TrinaryLogic; now public function isSuperTypeOf(Type $type): IsSuperTypeOfResult. packagist.org - Signature changed
PHPStan\Type\Doctrine\QueryBuilder\CreateQueryBuilderDynamicReturnTypeExtension::__construct
Was public function __construct(?string $queryBuilderClass, bool $fasterVersion); now public function __construct(?string $queryBuilderClass). packagist.org - 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
Related packages
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.