sebastian/type breaking changes
sebastian/type 7.0.0 (February 6, 2026) is its newest release with breaking changes. The first: sebastian/type 7.0.0 drops support for PHP 8.3. Every breaking API change we have recorded in sebastian/type on Packagist: 18 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 7.0.2, released August 10, 2026. BSD-3-Clause license. Source repository
Its 7.0.0 release drops PHP 8.3. PHP end of life dates.
- From 6.0.0 to 7.0.0: 1 breaking change in 1 version.
- From 3.0.0 to 7.0.0: 11 breaking changes in 4 versions.
sebastian/type 7.0.0 breaking changes
- Removed
The package no longer supports PHP 8.3, so projects running PHP 8.3 must stay on version 6.0.4 or move to a newer PHP version. github.com
sebastian/type 6.0.0 breaking changes
- Removed
This release no longer supports PHP 8.2, so users on PHP 8.2 must stay on the 5.x line or upgrade PHP. github.com
sebastian/type 5.0.0 breaking changes
- Removed
Version 5.0.0 no longer supports PHP 8.1. Stay on 4.x or upgrade PHP before moving to this release. github.com - Signature changed
SebastianBergmann\Type\Parameter
Was final class Parameter; now final readonly class Parameter. packagist.org - Signature changed
SebastianBergmann\Type\TypeName
Was final class TypeName; now final readonly class TypeName. packagist.org
sebastian/type 4.0.0 breaking changes
- Removed
This release no longer supports PHP 7.3, PHP 7.4 and PHP 8.0. Users on those PHP versions must stay on 3.x or upgrade PHP. github.com - Signature changed
SebastianBergmann\Type\ReflectionMapper::fromParameterTypes
Was public function fromParameterTypes(ReflectionFunctionAbstract $functionOrMethod): array; now public function fromParameterTypes(ReflectionFunction|ReflectionMethod $functionOrMethod): array. packagist.org - Signature changed
SebastianBergmann\Type\ReflectionMapper::fromReturnType
Was public function fromReturnType(ReflectionFunctionAbstract $functionOrMethod): Type; now public function fromReturnType(ReflectionFunction|ReflectionMethod $functionOrMethod): Type. packagist.org - Signature changed
SebastianBergmann\Type\SimpleType::__construct
Was public function __construct(string $name, bool $nullable, $value = null); now public function __construct(string $name, bool $nullable, mixed $value = null). packagist.org - Signature changed
SebastianBergmann\Type\SimpleType::value
Was public function value(); now public function value(): mixed. packagist.org - Signature changed
SebastianBergmann\Type\Type::fromValue
Was public static function fromValue($value, bool $allowsNull): self; now public static function fromValue(mixed $value, bool $allowsNull): self. packagist.org
sebastian/type 3.0.0 breaking changes
- Removed
SebastianBergmann\Type\LogicException
SebastianBergmann\Type\LogicException was removed in sebastian/type 3.0.0 packagist.org - Removed
SebastianBergmann\Type\ReflectionMapper::fromMethodReturnType
ReflectionMapper::fromMethodReturnType(ReflectionMethod $method) is renamed to fromReturnType(ReflectionFunctionAbstract $functionOrMethod). Update callers to the new name and argument type. packagist.org - Removed
SebastianBergmann\Type\Type::getReturnTypeDeclaration
Use Type::asString() instead and prefix its result with ': '. packagist.org - Removed
SebastianBergmann\Type\TypeName::getNamespaceName
Use TypeName::namespaceName() instead. packagist.org - Removed
SebastianBergmann\Type\TypeName::getQualifiedName
Use TypeName::qualifiedName() instead. packagist.org - Removed
SebastianBergmann\Type\TypeName::getSimpleName
Use TypeName::simpleName() instead. packagist.org - Signature changed
SebastianBergmann\Type\Type::isAssignable
Was abstract public function isAssignable(Type $other): bool; now abstract public function isAssignable(self $other): bool. packagist.org
Related packages
- sebastian/cli-parser
- sebastian/code-unit
- sebastian/code-unit-reverse-lookup
- sebastian/comparator
- sebastian/complexity
- sebastian/diff
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.