symfony/var-dumper breaking changes
symfony/var-dumper v8.0.0 (November 27, 2025) is its newest release with breaking changes. The first: Signature changed Symfony\Component\VarDumper\Dumper\DataDumperInterface::dump. Every breaking API change we have recorded in symfony/var-dumper on Packagist: 208 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 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.
symfony/var-dumper v8.0.0 breaking changes
- Signature changed
Symfony\Component\VarDumper\Dumper\DataDumperInterface::dump
Was public function dump(Data $data); now public function dump(Data $data): ?string. packagist.org
symfony/var-dumper v8.0.0-BETA1 breaking changes
- Removed
Symfony 8 requires PHP 8.4 or later. Older PHP versions are no longer supported. github.com - Removed
Application.add
The deprecated Application::add() methods were removed, so callers must use the supported command registration methods instead. github.com - Behavior changed
Return types are now enforced across all components. Code that overrides methods with incompatible return types will need to be updated. github.com - Behavior changed
HtmlDumper
The dumper choice now depends on the Accept header. Requests that do not accept html will no longer get HtmlDumper output, so check code that relies on it. github.com - Configuration changed
Symfony 8 requires PHP 8.4 or newer, so projects on older PHP versions must upgrade before using this release. github.com - Signature changed
Return types are enforced across components, so overriding methods or custom implementations must declare compatible return types. github.com
symfony/var-dumper v7.0.0 breaking changes
- Removed
Symfony\Component\VarDumper\Cloner\Stub::__serialize
Symfony\Component\VarDumper\Cloner\Stub::__serialize was removed in symfony/var-dumper v7.0.0 packagist.org - Signature changed
Symfony\Component\VarDumper\Caster\AmqpCaster::castChannel
Was public static function castChannel(\AMQPChannel $c, array $a, Stub $stub, bool $isNested); now public static function castChannel(\AMQPChannel $c, array $a, Stub $stub, bool $isNested): array. packagist.org - Signature changed
Symfony\Component\VarDumper\Caster\AmqpCaster::castConnection
Was public static function castConnection(\AMQPConnection $c, array $a, Stub $stub, bool $isNested); now public static function castConnection(\AMQPConnection $c, array $a, Stub $stub, bool $isNested): array. packagist.org - Signature changed
Symfony\Component\VarDumper\Caster\AmqpCaster::castEnvelope
Was public static function castEnvelope(\AMQPEnvelope $c, array $a, Stub $stub, bool $isNested, int $filter = 0); now public static function castEnvelope(\AMQPEnvelope $c, array $a, Stub $stub, bool $isNested, int $filter = 0): array. packagist.org - Signature changed
Symfony\Component\VarDumper\Caster\AmqpCaster::castExchange
Was public static function castExchange(\AMQPExchange $c, array $a, Stub $stub, bool $isNested); now public static function castExchange(\AMQPExchange $c, array $a, Stub $stub, bool $isNested): array. packagist.org - Signature changed
Symfony\Component\VarDumper\Caster\AmqpCaster::castQueue
Was public static function castQueue(\AMQPQueue $c, array $a, Stub $stub, bool $isNested); now public static function castQueue(\AMQPQueue $c, array $a, Stub $stub, bool $isNested): array. packagist.org - Signature changed
Symfony\Component\VarDumper\Caster\ClassStub::__construct
Was public function __construct(string $identifier, callable|array|string|null $callable = null); now public function __construct(string $identifier, callable|array|string $callable = null). packagist.org - Signature changed
Symfony\Component\VarDumper\Caster\ClassStub::wrapCallable
Was public static function wrapCallable(mixed $callable); now public static function wrapCallable(mixed $callable): mixed. packagist.org - Signature changed
Symfony\Component\VarDumper\Caster\ConstStub::__construct
Was public function __construct(string $name, string|int|float|null $value = null); now public function __construct(string $name, string|int|float $value = null). packagist.org - Signature changed
Symfony\Component\VarDumper\Caster\CutArrayStub::$preservedSubset
Was public $preservedSubset; now public array $preservedSubset. packagist.org
And 184 more in this version. Sign up to see every change
symfony/var-dumper v7.0.0-BETA1 breaking changes
- Removed
Compatibility layers added for new methods and parameters are removed. Code depending on those layers must be updated to the new signatures. github.com - Removed
Code paths that were deprecated in the 6.x line are removed. Code relying on them must be updated before upgrading. github.com - Removed
The release requires PHP 8.2 or later. Code running on older PHP versions must upgrade PHP before using this version. github.com - Behavior changed
The dumper now includes uninitialized properties in its output. Code comparing dump output may see different results. github.com - Signature changed
Magic methods now declare return types. Subclasses overriding them must declare compatible return types. github.com - Signature changed
Public and protected properties now carry type declarations. Subclasses that declare these properties without matching types may fail. github.com - Signature changed
Methods now declare native return types. Subclasses overriding these methods must add compatible return types. 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.