[Symfony 4.3] Update EventDispatcher
ruudk opened this issue · 5 comments
can we do that while keeping BC for users of this bundle and staying compatible with symfony 4.2? or is this a future task for when we move to symfony 5 support?
the parameter reordering only works with 4.3+, and changing our event names is a BC break for consumers of the bundle. are there other changes that we can already do now?
I have no idea how to handle this. Can't we detect the version of event-dispatcher that is installed?
Maybe we can use the LegacyEventDispatcherProxy https://symfony.com/blog/new-in-symfony-4-3-simpler-event-dispatching#supporting-both-dispatchers
I wonder if we even have to change anything, and can just allow Symfony / Event Dispatcher 4.3? I don't see any call to dispatch in the codebase.