phpdocumentor/type-resolver breaking changes
phpdocumentor/type-resolver 2.0.0 (January 6, 2026) is its newest release with breaking changes, 25 of them. The first: phpdocumentor/type-resolver 2.0.0 requires PHP 7.4 or later. Every breaking API change we have recorded in phpdocumentor/type-resolver on Packagist: 25 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.0, released September 28, 2026. MIT license. Source repository
Its 2.0.0 release requires PHP 7.4 or later. PHP end of life dates.
phpdocumentor/type-resolver 2.0.0 breaking changes
- Removed
Version 2 requires PHP 7.4 or higher, so PHP 7.3 is no longer supported. docs.phpdoc.org - Removed
False_
The aliases for True_ and False_ were removed. Use the class names that remain. github.com - Removed
GenericTemplate
The GenericTemplate class was removed in this release. Code that uses it must stop referencing it. github.com - Removed
phpDocumentor\Reflection\Types\ClassString
ClassString moved to a new namespace. Update imports to use ClassString. packagist.org - Removed
phpDocumentor\Reflection\Types\Collection
The Collection type was replaced by Generic. Update code that uses Collection. packagist.org - Removed
phpDocumentor\Reflection\Types\InterfaceString
InterfaceString moved to a new namespace. Update imports to use InterfaceString. packagist.org - Removed
phpDocumentor\Reflection\Types\Scalar
phpDocumentor\Reflection\Types\Scalar was removed in phpdocumentor/type-resolver 2.0.0 packagist.org - Removed
True_
The aliases for True_ and False_ were removed. Use the class names that remain. github.com - Renamed
Collection
Collection was replaced by GenericType. Update code to use GenericType. github.com - Renamed
phpDocumentor\Reflection\Types\ArrayKey
ArrayKey moved to a new namespace. Update imports to use ArrayKey. packagist.org - Renamed
phpDocumentor\Reflection\Types\False_
False_ moved to a new namespace. Update imports to use False_. docs.phpdoc.org - Renamed
phpDocumentor\Reflection\Types\True_
True_ moved to a new namespace. Update imports to use True_. docs.phpdoc.org - Behavior changed
ClassString
ClassString can now take type arguments like other generics. Check code that relied on the old return value. docs.phpdoc.org - Behavior changed
InterfaceString
InterfaceString can now take type arguments like other generics. Check code that relied on the old return value. docs.phpdoc.org - Behavior changed
TraitString
TraitString can now take type arguments like other generics. Check code that relied on the old return value. docs.phpdoc.org - Signature changed
phpDocumentor\Reflection\PseudoTypes\ArrayShape
Was class ArrayShape implements PseudoType; now class ArrayShape extends Array_ implements PseudoType. packagist.org - Signature changed
phpDocumentor\Reflection\PseudoTypes\ConstExpression
Was final class ConstExpression implements PseudoType; now final class ConstExpression extends Mixed_ implements PseudoType. packagist.org - Signature changed
phpDocumentor\Reflection\PseudoTypes\FloatValue
Was class FloatValue implements PseudoType; now class FloatValue extends Float_ implements PseudoType. packagist.org - Signature changed
phpDocumentor\Reflection\PseudoTypes\IntegerValue
Was final class IntegerValue implements PseudoType; now final class IntegerValue extends Integer implements PseudoType. packagist.org - Signature changed
phpDocumentor\Reflection\PseudoTypes\ObjectShape
Was final class ObjectShape implements PseudoType; now final class ObjectShape extends Object_ implements PseudoType. packagist.org - Signature changed
phpDocumentor\Reflection\PseudoTypes\StringValue
Was class StringValue implements PseudoType; now class StringValue extends String_ implements PseudoType. packagist.org - Signature changed
phpDocumentor\Reflection\Types\Callable_::__construct
Was public function __construct(array $parameters = [], ?Type $returnType = null); now public function __construct(string $identifier = 'callable', array $parameters = [], ?Type $returnType = null). packagist.org - Signature changed
phpDocumentor\Reflection\Types\Never_
Was final class Never_ implements Type; now class Never_ implements Type. packagist.org - Signature changed
phpDocumentor\Reflection\Types\Object_
Was final class Object_ implements Type; now class Object_ implements Type. packagist.org - Signature changed
phpDocumentor\Reflection\Types\Resource_
Was final class Resource_ implements Type; now class Resource_ implements Type. 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.