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

# sebastian/complexity breaking changes

sebastian/complexity 6.0.0 (February 6, 2026) is its newest release with breaking changes. The first: sebastian/complexity 6.0.0 drops support for PHP 8.3. Every breaking API change we have recorded in sebastian/complexity on Packagist: 8 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `6.0.0`, released February 6, 2026. BSD-3-Clause license. [Source repository](https://github.com/sebastianbergmann/complexity)

Its 6.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 [5.0.0](#v-5-0-0) to [6.0.0](#v-6-0-0): 1 breaking change in 1 version.
- From [3.0.0](#v-3-0-0) to [6.0.0](#v-6-0-0): 7 breaking changes in 3 versions.

## sebastian/complexity 6.0.0 breaking changes

sebastian/complexity 6.0.0, released February 6, 2026: 1 breaking change.

- **Removed**  

The component is no longer supported on PHP 8.3, so code running on PHP 8.3 must move to a supported PHP version. [github.com](https://github.com/sebastianbergmann/complexity/releases/tag/6.0.0)

## sebastian/complexity 5.0.0 breaking changes

sebastian/complexity 5.0.0, released February 7, 2025: 2 breaking changes.

- **Removed**  

This release no longer supports PHP 8.2, so users on PHP 8.2 must stay on version 4.0.1 or upgrade PHP. [github.com](https://github.com/sebastianbergmann/complexity/releases/tag/5.0.0)
- **Signature changed** `SebastianBergmann\Complexity\CyclomaticComplexityCalculatingVisitor::enterNode`  

Was public function enterNode(Node $node): void; now public function enterNode(Node $node): null. [packagist.org](https://packagist.org/packages/sebastian/complexity#5.0.0)

## sebastian/complexity 4.0.0 breaking changes

sebastian/complexity 4.0.0, released February 2, 2024: 4 breaking changes.

- **Removed**  

This component is no longer supported on PHP 8.1. Projects running PHP 8.1 must upgrade PHP or stay on an earlier release of the component. [github.com](https://github.com/sebastianbergmann/complexity/blob/4.0.0/ChangeLog.md)
- **Removed**  

The component now requires PHP-Parser 5. Projects that pin or depend on PHP-Parser 4 must upgrade it to version 5. [github.com](https://github.com/sebastianbergmann/complexity/blob/4.0.0/ChangeLog.md)
- **Signature changed** `SebastianBergmann\Complexity\Complexity`  

Was final class Complexity; now final readonly class Complexity. [packagist.org](https://packagist.org/packages/sebastian/complexity#4.0.0)
- **Signature changed** `SebastianBergmann\Complexity\ComplexityCollection`  

Was final class ComplexityCollection implements Countable, IteratorAggregate; now final readonly class ComplexityCollection implements Countable, IteratorAggregate. [packagist.org](https://packagist.org/packages/sebastian/complexity#4.0.0)

## sebastian/complexity 3.0.0 breaking changes

sebastian/complexity 3.0.0, released February 3, 2023: 1 breaking change.

- **Removed**  

The component no longer supports PHP 7.3, PHP 7.4 and PHP 8.0. Stay on version 2.0.3 or upgrade your PHP runtime before using this version. [github.com](https://github.com/sebastianbergmann/complexity/blob/3.0.0/ChangeLog.md)

## 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/diff](https://since.dev/packages/packagist/sebastian/diff.md)
- [sebastian/environment](https://since.dev/packages/packagist/sebastian/environment.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.
