---
title: "symfony/event-dispatcher v8.0.0 Breaking Changes"
description: "What each symfony/event-dispatcher release removed, renamed or changed: 127 breaking changes in 9 versions on Packagist, each with its source."
canonical_url: https://since.dev/packages/packagist/symfony/event-dispatcher
last_updated: 2026-12-04
---

# symfony/event-dispatcher breaking changes

symfony/event-dispatcher v8.0.0 (November 27, 2025) is its newest release with breaking changes. The first: Signature changed Symfony\\Component\\EventDispatcher\\EventSubscriberInterface::getSubscribedEvents. Every breaking API change we have recorded in symfony/event-dispatcher on Packagist: 127 breaking changes in 9 versions. Below, its 9 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `v8.2.0`, released November 28, 2026. MIT license. [Source repository](https://github.com/symfony/event-dispatcher)

Its v8.0.0-BETA1 release requires [PHP 8.4](https://since.dev/calendar/php/8.4.md) or later. [PHP end of life dates](https://since.dev/calendar/php.md).

- From [v7.0.0](#v-v7-0-0) to [v8.0.0](#v-v8-0-0): 3 breaking changes in 2 versions.
- From [v3.0.0](#v-v3-0-0) to [v8.0.0](#v-v8-0-0): 122 breaking changes in 8 versions.

## symfony/event-dispatcher v8.0.0 breaking changes

symfony/event-dispatcher v8.0.0, released November 27, 2025: 1 breaking change.

- **Signature changed** `Symfony\Component\EventDispatcher\EventSubscriberInterface::getSubscribedEvents`  

Was public static function getSubscribedEvents(); now public static function getSubscribedEvents(): array. [packagist.org](https://packagist.org/packages/symfony/event-dispatcher#v8.0.0)

## symfony/event-dispatcher v8.0.0-BETA1 breaking changes

symfony/event-dispatcher v8.0.0-BETA1, released November 27, 2025: 2 breaking changes.

- **Removed**  

Symfony 8 now requires PHP 8.4 or later, so code running on older PHP versions must upgrade PHP before using this release. [github.com](https://github.com/symfony/event-dispatcher/releases/tag/v8.0.0-BETA1)
- **Signature changed**  

Components now enforce return types, so classes that extend or implement them must declare compatible return types. [github.com](https://github.com/symfony/event-dispatcher/releases/tag/v8.0.0-BETA1)

## symfony/event-dispatcher v7.0.0 breaking changes

symfony/event-dispatcher v7.0.0, released November 29, 2023: 21 breaking changes.

- **Signature changed** `Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::$logger`  

Was protected $logger; now protected ?LoggerInterface $logger. [packagist.org](https://packagist.org/packages/symfony/event-dispatcher#v7.0.0)
- **Signature changed** `Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::$stopwatch`  

Was protected $stopwatch; now protected Stopwatch $stopwatch. [packagist.org](https://packagist.org/packages/symfony/event-dispatcher#v7.0.0)
- **Signature changed** `Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::addListener`  

Was public function addListener(string $eventName, callable|array $listener, int $priority = 0); now public function addListener(string $eventName, callable|array $listener, int $priority = 0): void. [packagist.org](https://packagist.org/packages/symfony/event-dispatcher#v7.0.0)
- **Signature changed** `Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::afterDispatch`  

Was protected function afterDispatch(string $eventName, object $event); now protected function afterDispatch(string $eventName, object $event): void. [packagist.org](https://packagist.org/packages/symfony/event-dispatcher#v7.0.0)
- **Signature changed** `Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::beforeDispatch`  

Was protected function beforeDispatch(string $eventName, object $event); now protected function beforeDispatch(string $eventName, object $event): void. [packagist.org](https://packagist.org/packages/symfony/event-dispatcher#v7.0.0)
- **Signature changed** `Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::removeListener`  

Was public function removeListener(string $eventName, callable|array $listener); now public function removeListener(string $eventName, callable|array $listener): void. [packagist.org](https://packagist.org/packages/symfony/event-dispatcher#v7.0.0)
- **Signature changed** `Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::reset`  

Was public function reset(); now public function reset(): void. [packagist.org](https://packagist.org/packages/symfony/event-dispatcher#v7.0.0)
- **Signature changed** `Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass::process`  

Was public function process(ContainerBuilder $container); now public function process(ContainerBuilder $container): void. [packagist.org](https://packagist.org/packages/symfony/event-dispatcher#v7.0.0)
- **Signature changed** `Symfony\Component\EventDispatcher\EventDispatcher::addListener`  

Was public function addListener(string $eventName, callable|array $listener, int $priority = 0); now public function addListener(string $eventName, callable|array $listener, int $priority = 0): void. [packagist.org](https://packagist.org/packages/symfony/event-dispatcher#v7.0.0)
- **Signature changed** `Symfony\Component\EventDispatcher\EventDispatcher::callListeners`  

Was protected function callListeners(iterable $listeners, string $eventName, object $event); now protected function callListeners(iterable $listeners, string $eventName, object $event): void. [packagist.org](https://packagist.org/packages/symfony/event-dispatcher#v7.0.0)

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

## symfony/event-dispatcher v7.0.0-BETA1 breaking changes

symfony/event-dispatcher v7.0.0-BETA1, released November 29, 2023: 3 breaking changes.

- **Behavior changed**  

Methods now declare native PHP return types. Code that extends these classes and overrides methods may need matching return types. [github.com](https://github.com/symfony/event-dispatcher/releases/tag/v7.0.0-BETA1)
- **Behavior changed**  

The package now needs PHP 8.2 as a minimum. Projects on older PHP versions must upgrade PHP before using this release. [github.com](https://github.com/symfony/event-dispatcher/releases/tag/v7.0.0-BETA1)
- **Behavior changed**  

Public and protected properties now have native PHP types. Subclasses that redeclare these properties without matching types may break. [github.com](https://github.com/symfony/event-dispatcher/releases/tag/v7.0.0-BETA1)

## symfony/event-dispatcher v6.0.0 breaking changes

symfony/event-dispatcher v6.0.0, released November 29, 2021: 38 breaking changes.

- **Removed** `Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass::__construct`  

Symfony\\Component\\EventDispatcher\\DependencyInjection\\RegisterListenersPass::\_\_construct was removed in symfony/event-dispatcher v6.0.0 [packagist.org](https://packagist.org/packages/symfony/event-dispatcher#v6.0.0)
- **Removed** `Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass::$dispatcherService`  

Symfony\\Component\\EventDispatcher\\DependencyInjection\\RegisterListenersPass::$dispatcherService was removed in symfony/event-dispatcher v6.0.0 [packagist.org](https://packagist.org/packages/symfony/event-dispatcher#v6.0.0)
- **Removed** `Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass::$eventAliasesParameter`  

Symfony\\Component\\EventDispatcher\\DependencyInjection\\RegisterListenersPass::$eventAliasesParameter was removed in symfony/event-dispatcher v6.0.0 [packagist.org](https://packagist.org/packages/symfony/event-dispatcher#v6.0.0)
- **Removed** `Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass::$listenerTag`  

Symfony\\Component\\EventDispatcher\\DependencyInjection\\RegisterListenersPass::$listenerTag was removed in symfony/event-dispatcher v6.0.0 [packagist.org](https://packagist.org/packages/symfony/event-dispatcher#v6.0.0)
- **Removed** `Symfony\Component\EventDispatcher\DependencyInjection\RegisterListenersPass::$subscriberTag`  

Symfony\\Component\\EventDispatcher\\DependencyInjection\\RegisterListenersPass::$subscriberTag was removed in symfony/event-dispatcher v6.0.0 [packagist.org](https://packagist.org/packages/symfony/event-dispatcher#v6.0.0)
- **Removed** `Symfony\Component\EventDispatcher\LegacyEventDispatcherProxy`  

Symfony\\Component\\EventDispatcher\\LegacyEventDispatcherProxy was removed in symfony/event-dispatcher v6.0.0 [packagist.org](https://packagist.org/packages/symfony/event-dispatcher#v6.0.0)
- **Signature changed** `Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::__call`  

Was public function \_\_call(string $method, array $arguments); now public function \_\_call(string $method, array $arguments): mixed. [packagist.org](https://packagist.org/packages/symfony/event-dispatcher#v6.0.0)
- **Signature changed** `Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::addListener`  

Was public function addListener(string $eventName, $listener, int $priority = 0); now public function addListener(string $eventName, callable|array $listener, int $priority = 0). [packagist.org](https://packagist.org/packages/symfony/event-dispatcher#v6.0.0)
- **Signature changed** `Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::getCalledListeners`  

Was public function getCalledListeners(?Request $request = null); now public function getCalledListeners(Request $request = null): array. [packagist.org](https://packagist.org/packages/symfony/event-dispatcher#v6.0.0)
- **Signature changed** `Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::getListenerPriority`  

Was public function getListenerPriority(string $eventName, $listener); now public function getListenerPriority(string $eventName, callable|array $listener): ?int. [packagist.org](https://packagist.org/packages/symfony/event-dispatcher#v6.0.0)

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

## symfony/event-dispatcher v6.0.0-BETA1 breaking changes

symfony/event-dispatcher v6.0.0-BETA1, released November 29, 2021: 5 breaking changes.

- **Removed**  

Previously deprecated code has been removed from the package. [github.com](https://github.com/symfony/event-dispatcher/releases/tag/v6.0.0-BETA1)
- **Removed** `LegacyEventDispatcherProxy`  

The LegacyEventDispatcherProxy class has been removed. Code using it must be updated. [github.com](https://github.com/symfony/event-dispatcher/releases/tag/v6.0.0-BETA1)
- **Removed** `RegisterListenersPass`  

Tags can no longer be configured on RegisterListenersPass. Stop passing tag configuration to it. [github.com](https://github.com/symfony/event-dispatcher/releases/tag/v6.0.0-BETA1)
- **Behavior changed**  

Symfony 6 moves to PHP 8, so PHP 8 is the minimum supported PHP version. [github.com](https://github.com/symfony/event-dispatcher/releases/tag/v6.0.0-BETA1)
- **Signature changed**  

Return types were added to methods, which can affect code that overrides them. [github.com](https://github.com/symfony/event-dispatcher/releases/tag/v6.0.0-BETA1)

## Older versions

3 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### symfony/event-dispatcher v5.0.0 breaking changes

symfony/event-dispatcher v5.0.0, released November 21, 2019: 47 breaking changes.

- **Removed** `Event`  

The Event class is no longer provided by this package. Use Symfony\\Contracts\\EventDispatcher\\Event instead. [github.com](https://github.com/symfony/event-dispatcher/blob/v5.0.0/CHANGELOG.md)
- **Removed** `Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher::postDispatch`  

Use afterDispatch instead. [packagist.org](https://packagist.org/packages/symfony/event-dispatcher#v5.0.0)

And 45 more in this version.

### symfony/event-dispatcher v4.0.0 breaking changes

symfony/event-dispatcher v4.0.0, released November 30, 2017: 5 breaking changes.

- **Removed** `ContainerAwareEventDispatcher`  

The ContainerAwareEventDispatcher class is gone in 4.0.0. Code that instantiates or type-hints it must switch to another event dispatcher implementation. [github.com](https://github.com/symfony/event-dispatcher/blob/v4.0.0/CHANGELOG.md)
- **Removed** `Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher`  

Use EventDispatcher instead. [packagist.org](https://packagist.org/packages/symfony/event-dispatcher#v4.0.0)

And 3 more in this version.

### symfony/event-dispatcher v3.0.0 breaking changes

symfony/event-dispatcher v3.0.0, released November 30, 2015: 5 breaking changes.

- **Removed** `Symfony\Component\EventDispatcher\Event::getDispatcher`  

The event dispatcher is no longer available from the event; it is passed to listeners on call. [packagist.org](https://packagist.org/packages/symfony/event-dispatcher#v3.0.0)
- **Removed** `Symfony\Component\EventDispatcher\Event::getName`  

The event name is no longer available from the event; it is passed to listeners on call. [packagist.org](https://packagist.org/packages/symfony/event-dispatcher#v3.0.0)

And 3 more in this version.

## Related packages

- [symfony/asset](https://since.dev/packages/packagist/symfony/asset.md)
- [symfony/browser-kit](https://since.dev/packages/packagist/symfony/browser-kit.md)
- [symfony/cache](https://since.dev/packages/packagist/symfony/cache.md)
- [symfony/config](https://since.dev/packages/packagist/symfony/config.md)
- [symfony/console](https://since.dev/packages/packagist/symfony/console.md)
- [symfony/css-selector](https://since.dev/packages/packagist/symfony/css-selector.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.
