symfony/error-handler breaking changes
symfony/error-handler v8.0.0-BETA1 (November 27, 2025) is its newest release with breaking changes. The first: symfony/error-handler 8.0.0-BETA1 requires PHP 8.4 or later. Every breaking API change we have recorded in symfony/error-handler on Packagist: 12 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version v8.2.0, released November 28, 2026. MIT license. Source repository
Its v8.0.0-BETA1 release requires PHP 8.4 or later. PHP end of life dates.
- From v7.0.0 to v8.0.0-BETA1: 1 breaking change in 1 version.
symfony/error-handler v8.0.0-BETA1 breaking changes
- Configuration changed
Symfony 8 requires PHP 8.4 or newer, so older PHP versions can no longer run this package. github.com
symfony/error-handler v7.0.0 breaking changes
- Removed
Symfony\Component\ErrorHandler\BufferingLogger::__serialize
Symfony\Component\ErrorHandler\BufferingLogger::__serialize was removed in symfony/error-handler v7.0.0 packagist.org - Removed
Symfony\Component\ErrorHandler\BufferingLogger::__unserialize
Symfony\Component\ErrorHandler\BufferingLogger::__unserialize was removed in symfony/error-handler v7.0.0 packagist.org - Removed
Symfony\Component\ErrorHandler\ErrorRenderer\FileLinkFormatter::__serialize
Symfony\Component\ErrorHandler\ErrorRenderer\FileLinkFormatter::__serialize was removed in symfony/error-handler v7.0.0 packagist.org - Signature changed
Symfony\Component\ErrorHandler\ErrorRenderer\FileLinkFormatter::__construct
Was public function __construct(string|array|null $fileLinkFormat = null, ?RequestStack $requestStack = null, ?string $baseDir = null, string|\Closure|null $urlFormat = null); now public function __construct(string|array $fileLinkFormat =... packagist.org - Signature changed
Symfony\Component\ErrorHandler\ErrorRenderer\FileLinkFormatter::format
Was public function format(string $file, int $line): string|bool; now public function format(string $file, int $line): string|false. packagist.org - Signature changed
Symfony\Component\ErrorHandler\ErrorRenderer\HtmlErrorRenderer::__construct
Was public function __construct(bool|callable $debug = false, ?string $charset = null, string|FileLinkFormatter|null $fileLinkFormat = null, ?string $projectDir = null, string|callable $outputBuffer = '', ?LoggerInterface $logger = null)... packagist.org - Signature changed
Symfony\Component\ErrorHandler\Exception\SilencedErrorContext::$count
Was public $count; now public int $count. packagist.org
symfony/error-handler v7.0.0-BETA1 breaking changes
- Removed
Code paths that were deprecated in the 6.x line have been removed, so code relying on them must be updated. github.com - Removed
The package now requires PHP 8.2 or later, so code running on older PHP versions must upgrade PHP first. github.com - Signature changed
Return types are now declared natively, which can break subclasses or implementations whose return types do not match. github.com - Signature changed
Public and protected properties now have declared types, which can break subclasses that declare them differently. github.com
Related packages
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.