Skip to content

Fix the interface incompatibility of EventDispatchers #31459

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 13, 2019

Conversation

keulinho
Copy link
Contributor

The LegacyEventDispatcherProxy now implements the full
EventDispatcherInterface from the EventDispatcherBundle.
Before it just implemented the Interface from the Contracts Bundle,
that made it incompatible with the WrappedListener.
This fixes #31457.

Q A
Branch? 4.3
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #31457
License MIT
Doc PR /

The `LegacyEventDispatcherProxy` now implements the full
`EventDispatcherInterface` from the `EventDispatcherBundle`.
Before it just implemented the Interface from the `Contracts` Bundle,
that made it incompatible with the `WrappedListener`.
This fixes symfony#31457.
@fabpot
Copy link
Member

fabpot commented May 13, 2019

Thank you @keulinho.

@fabpot fabpot merged commit bdeeae1 into symfony:4.3 May 13, 2019
fabpot added a commit that referenced this pull request May 13, 2019
…linho)

This PR was merged into the 4.3 branch.

Discussion
----------

Fix the interface incompatibility of EventDispatchers

The `LegacyEventDispatcherProxy` now implements the full
`EventDispatcherInterface` from the `EventDispatcherBundle`.
Before it just implemented the Interface from the `Contracts` Bundle,
that made it incompatible with the `WrappedListener`.
This fixes #31457.

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #31457
| License       | MIT
| Doc PR        | /

Commits
-------

bdeeae1 Fix the interface incompatibility of EventDispatchers
fabpot added a commit that referenced this pull request May 15, 2019
…ges (chalasr)

This PR was merged into the 4.3 branch.

Discussion
----------

[EventDispatcher] Fix interface name used in error messages

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->

Forgotten in #31459

Commits
-------

38cad41 [EventDispatcher] Fix interface name used in error messages
@fabpot fabpot mentioned this pull request May 22, 2019
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