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
On this page
Latest version 6.0.0, released February 6, 2026. BSD-3-Clause license. Source repository
Its 6.0.0 release drops PHP 8.3. PHP end of life dates.
- From 5.0.0 to 6.0.0: 1 breaking change in 1 version.
- From 3.0.0 to 6.0.0: 7 breaking changes in 3 versions.
sebastian/complexity 6.0.0 breaking changes
- 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
sebastian/complexity 5.0.0 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 - Signature changed
SebastianBergmann\Complexity\CyclomaticComplexityCalculatingVisitor::enterNode
Was public function enterNode(Node $node): void; now public function enterNode(Node $node): null. packagist.org
sebastian/complexity 4.0.0 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 - 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 - Signature changed
SebastianBergmann\Complexity\Complexity
Was final class Complexity; now final readonly class Complexity. packagist.org - Signature changed
SebastianBergmann\Complexity\ComplexityCollection
Was final class ComplexityCollection implements Countable, IteratorAggregate; now final readonly class ComplexityCollection implements Countable, IteratorAggregate. packagist.org
sebastian/complexity 3.0.0 breaking changes
- 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
Related packages
- sebastian/cli-parser
- sebastian/code-unit
- sebastian/code-unit-reverse-lookup
- sebastian/comparator
- sebastian/diff
- sebastian/environment
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.