---
title: "sebastian/type 7.0.0 Breaking Changes on Packagist"
description: "What each sebastian/type release removed, renamed or changed: 18 breaking changes in 5 versions on Packagist, each with its source."
canonical_url: https://since.dev/packages/packagist/sebastian/type
last_updated: 2026-12-04
---

# 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

Latest version `7.0.2`, released August 10, 2026. BSD-3-Clause license. [Source repository](https://github.com/sebastianbergmann/type)

Its 7.0.0 release drops [PHP 8.3](https://since.dev/calendar/php/8.3.md). [PHP end of life dates](https://since.dev/calendar/php.md).

- From [6.0.0](#v-6-0-0) to [7.0.0](#v-7-0-0): 1 breaking change in 1 version.
- From [3.0.0](#v-3-0-0) to [7.0.0](#v-7-0-0): 11 breaking changes in 4 versions.

## sebastian/type 7.0.0 breaking changes

sebastian/type 7.0.0, released February 6, 2026: 1 breaking change.

- **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](https://github.com/sebastianbergmann/type/releases/tag/7.0.0)

## sebastian/type 6.0.0 breaking changes

sebastian/type 6.0.0, released February 7, 2025: 1 breaking change.

- **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](https://github.com/sebastianbergmann/type/releases/tag/6.0.0)

## sebastian/type 5.0.0 breaking changes

sebastian/type 5.0.0, released February 2, 2024: 3 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](https://github.com/sebastianbergmann/type/blob/5.0.0/ChangeLog.md)
- **Signature changed** `SebastianBergmann\Type\Parameter`  

Was final class Parameter; now final readonly class Parameter. [packagist.org](https://packagist.org/packages/sebastian/type#5.0.0)
- **Signature changed** `SebastianBergmann\Type\TypeName`  

Was final class TypeName; now final readonly class TypeName. [packagist.org](https://packagist.org/packages/sebastian/type#5.0.0)

## sebastian/type 4.0.0 breaking changes

sebastian/type 4.0.0, released February 3, 2023: 6 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](https://github.com/sebastianbergmann/type/blob/4.0.0/ChangeLog.md)
- **Signature changed** `SebastianBergmann\Type\ReflectionMapper::fromParameterTypes`  

Was public function fromParameterTypes(ReflectionFunctionAbstract $functionOrMethod): array; now public function fromParameterTypes(ReflectionFunction|ReflectionMethod $functionOrMethod): array. [packagist.org](https://packagist.org/packages/sebastian/type#4.0.0)
- **Signature changed** `SebastianBergmann\Type\ReflectionMapper::fromReturnType`  

Was public function fromReturnType(ReflectionFunctionAbstract $functionOrMethod): Type; now public function fromReturnType(ReflectionFunction|ReflectionMethod $functionOrMethod): Type. [packagist.org](https://packagist.org/packages/sebastian/type#4.0.0)
- **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](https://packagist.org/packages/sebastian/type#4.0.0)
- **Signature changed** `SebastianBergmann\Type\SimpleType::value`  

Was public function value(); now public function value(): mixed. [packagist.org](https://packagist.org/packages/sebastian/type#4.0.0)
- **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](https://packagist.org/packages/sebastian/type#4.0.0)

## sebastian/type 3.0.0 breaking changes

sebastian/type 3.0.0, released March 15, 2022: 7 breaking changes.

- **Removed** `SebastianBergmann\Type\LogicException`  

SebastianBergmann\\Type\\LogicException was removed in sebastian/type 3.0.0 [packagist.org](https://packagist.org/packages/sebastian/type#3.0.0)
- **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](https://packagist.org/packages/sebastian/type#3.0.0)
- **Removed** `SebastianBergmann\Type\Type::getReturnTypeDeclaration`  

Use Type::asString() instead and prefix its result with ': '. [packagist.org](https://packagist.org/packages/sebastian/type#3.0.0)
- **Removed** `SebastianBergmann\Type\TypeName::getNamespaceName`  

Use TypeName::namespaceName() instead. [packagist.org](https://packagist.org/packages/sebastian/type#3.0.0)
- **Removed** `SebastianBergmann\Type\TypeName::getQualifiedName`  

Use TypeName::qualifiedName() instead. [packagist.org](https://packagist.org/packages/sebastian/type#3.0.0)
- **Removed** `SebastianBergmann\Type\TypeName::getSimpleName`  

Use TypeName::simpleName() instead. [packagist.org](https://packagist.org/packages/sebastian/type#3.0.0)
- **Signature changed** `SebastianBergmann\Type\Type::isAssignable`  

Was abstract public function isAssignable(Type $other): bool; now abstract public function isAssignable(self $other): bool. [packagist.org](https://packagist.org/packages/sebastian/type#3.0.0)

## Related packages

- [sebastian/cli-parser](https://since.dev/packages/packagist/sebastian/cli-parser.md)
- [sebastian/code-unit](https://since.dev/packages/packagist/sebastian/code-unit.md)
- [sebastian/code-unit-reverse-lookup](https://since.dev/packages/packagist/sebastian/code-unit-reverse-lookup.md)
- [sebastian/comparator](https://since.dev/packages/packagist/sebastian/comparator.md)
- [sebastian/complexity](https://since.dev/packages/packagist/sebastian/complexity.md)
- [sebastian/diff](https://since.dev/packages/packagist/sebastian/diff.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.
