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

# sebastian/comparator breaking changes

sebastian/comparator 8.0.0 (February 6, 2026) is its newest release with breaking changes, 3 of them. The first: sebastian/comparator 8.0.0 drops support for PHP 8.3. Every breaking API change we have recorded in sebastian/comparator on Packagist: 64 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 `8.4.0`, released August 7, 2026. BSD-3-Clause license. [Source repository](https://github.com/sebastianbergmann/comparator)

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

## sebastian/comparator 8.0.0 breaking changes

sebastian/comparator 8.0.0, released February 6, 2026: 3 breaking changes.

- **Removed**  

The package no longer supports PHP 8.3. Users on PHP 8.3 must stay on version 7.1.x or upgrade PHP. [github.com](https://github.com/sebastianbergmann/comparator/releases/tag/8.0.0)
- **Removed** `SebastianBergmann\Comparator\ComparisonFailure::__serialize`  

SebastianBergmann\\Comparator\\ComparisonFailure::\_\_serialize was removed in sebastian/comparator 8.0.0 [packagist.org](https://packagist.org/packages/sebastian/comparator#8.0.0)
- **Removed** `SebastianBergmann\Comparator\ComparisonFailure::__unserialize`  

SebastianBergmann\\Comparator\\ComparisonFailure::\_\_unserialize was removed in sebastian/comparator 8.0.0 [packagist.org](https://packagist.org/packages/sebastian/comparator#8.0.0)

## sebastian/comparator 7.0.0 breaking changes

sebastian/comparator 7.0.0, released February 7, 2025: 1 breaking change.

- **Removed**  

Support for PHP 8.2 was removed in this release, so users on PHP 8.2 must stay on an earlier version or upgrade PHP. [github.com](https://github.com/sebastianbergmann/comparator/releases/tag/7.0.0)

## sebastian/comparator 6.0.0 breaking changes

sebastian/comparator 6.0.0, released February 2, 2024: 1 breaking change.

- **Removed**  

Support for PHP 8.1 was removed in this release, so users on PHP 8.1 must stay on the 5.x line or upgrade PHP. [github.com](https://github.com/sebastianbergmann/comparator/blob/6.0.0/ChangeLog.md)

## sebastian/comparator 5.0.0 breaking changes

sebastian/comparator 5.0.0, released February 3, 2023: 59 breaking changes.

- **Removed**  

The package no longer supports these PHP versions. [github.com](https://github.com/sebastianbergmann/comparator/blob/5.0.0/ChangeLog.md)
- **Removed** `SebastianBergmann\Comparator\ArrayComparator::indent`  

SebastianBergmann\\Comparator\\ArrayComparator::indent was removed in sebastian/comparator 5.0.0 [packagist.org](https://packagist.org/packages/sebastian/comparator#5.0.0)
- **Removed** `SebastianBergmann\Comparator\Comparator::__construct`  

SebastianBergmann\\Comparator\\Comparator::\_\_construct was removed in sebastian/comparator 5.0.0 [packagist.org](https://packagist.org/packages/sebastian/comparator#5.0.0)
- **Removed** `SebastianBergmann\Comparator\Comparator::$exporter`  

Code reading this property will no longer work. [packagist.org](https://packagist.org/packages/sebastian/comparator#5.0.0)
- **Removed** `SebastianBergmann\Comparator\Comparator::$factory`  

Use Comparator::factory() instead of accessing the property directly. [packagist.org](https://packagist.org/packages/sebastian/comparator#5.0.0)
- **Removed** `SebastianBergmann\Comparator\ComparisonFailure::$actual`  

SebastianBergmann\\Comparator\\ComparisonFailure::$actual was removed in sebastian/comparator 5.0.0 [packagist.org](https://packagist.org/packages/sebastian/comparator#5.0.0)
- **Removed** `SebastianBergmann\Comparator\ComparisonFailure::$actualAsString`  

SebastianBergmann\\Comparator\\ComparisonFailure::$actualAsString was removed in sebastian/comparator 5.0.0 [packagist.org](https://packagist.org/packages/sebastian/comparator#5.0.0)
- **Removed** `SebastianBergmann\Comparator\ComparisonFailure::$expected`  

SebastianBergmann\\Comparator\\ComparisonFailure::$expected was removed in sebastian/comparator 5.0.0 [packagist.org](https://packagist.org/packages/sebastian/comparator#5.0.0)
- **Removed** `SebastianBergmann\Comparator\ComparisonFailure::$expectedAsString`  

SebastianBergmann\\Comparator\\ComparisonFailure::$expectedAsString was removed in sebastian/comparator 5.0.0 [packagist.org](https://packagist.org/packages/sebastian/comparator#5.0.0)
- **Removed** `SebastianBergmann\Comparator\ComparisonFailure::$identical`  

SebastianBergmann\\Comparator\\ComparisonFailure::$identical was removed in sebastian/comparator 5.0.0 [packagist.org](https://packagist.org/packages/sebastian/comparator#5.0.0)

And 49 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## 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/complexity](https://since.dev/packages/packagist/sebastian/complexity.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.
