Skip to content

Conversation

JakeFr
Copy link
Contributor

@JakeFr JakeFr commented Feb 13, 2022

AddEventAliasesPass and RegisterListenersPass constructors were removed in 6.0

AddEventAliasesPass and RegisterListenersPass constructors were removed in 6.0
@javiereguiluz javiereguiluz added this to the 6.0 milestone Mar 11, 2022
@carsonbot carsonbot changed the title Update event_dispatcher.rst [DependencyInjection] Update event_dispatcher.rst Mar 11, 2022
@javiereguiluz
Copy link
Member

For reference purposes, here's the code showing that the constructor in 6.0 only accepts one argument instead of several as in previous versions: https://github.com/symfony/symfony/blob/6.0/src/Symfony/Component/EventDispatcher/DependencyInjection/AddEventAliasesPass.php

@javiereguiluz
Copy link
Member

Good catch, thanks @JakeFr.

@javiereguiluz javiereguiluz merged commit 423272d into symfony:6.0 Mar 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants