Skip to content

[EventDispatcher] Remove LegacyEventDispatcherProxy #41304

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 23, 2021

Conversation

derrabus
Copy link
Member

Q A
Branch? 6.0
Bug fix? no
New feature? no
Deprecations? no
Tickets N/A
License MIT
Doc PR N/A

6.0
---

* Remove `LegacyEventDispatcherProxy`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we use a short sentence like this in code removal? Or duplicate the message in UPGRADE-6.0.md that also contains the Use the ... instead?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this particular case, I don't think that anything beyond the note about the removal is helpful. That class is just plain obsolete now.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When we have one, mentioning the replacement in the removal' UPGRADE instruction is good yes

@nicolas-grekas
Copy link
Member

Maybe worth fixing the psalm report in this PR?

nicolas-grekas added a commit that referenced this pull request May 23, 2021
…ter)

This PR was merged into the 6.0 branch.

Discussion
----------

[EventDispatcher] Removed deprecated code

| Q             | A
| ------------- | ---
| Branch?       | 6.0
| Bug fix?      | no
| New feature?  | no
| Deprecations? | yes
| Tickets       | -
| License       | MIT
| Doc PR        | -

This remove deprecated code from EventDispatcher.

The `LegacyEventDispatcherProxy` is removed in #41304.

Is it necessary to update the Changelog or Upgrade.md that the classes are not configurable any more?

Commits
-------

70b8b16 [EventDispatcher] Removed deprecated code
@derrabus derrabus force-pushed the remove/legacy-ed-proxy branch 2 times, most recently from 394be53 to 117516c Compare May 23, 2021 19:13
@derrabus
Copy link
Member Author

Maybe worth fixing the psalm report in this PR?

That's a good catch from Psalm. Since EventDispatcher has been bumped to 5.4 everywhere, we can safely drop the calls to LegacyEventDispatcherProxy now. I just did that.

@derrabus derrabus force-pushed the remove/legacy-ed-proxy branch from 117516c to 5054709 Compare May 23, 2021 19:23
@nicolas-grekas
Copy link
Member

Thank you @derrabus.

@nicolas-grekas nicolas-grekas merged commit dc1df83 into symfony:6.0 May 23, 2021
@derrabus derrabus deleted the remove/legacy-ed-proxy branch May 23, 2021 21:47
@fabpot fabpot mentioned this pull request Nov 5, 2021
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.

5 participants