Fix eventDispatcher->dispatch to use new argument order

Created on 9 February 2023, almost 2 years ago

On a recent Symfony upgrade, it changed the order of the arguments for the `dispatch` method from

$this->eventDispatcher->dispatch(PdbDiscoveryEvent::SEARCH_DIRS, $event);

to

$this->eventDispatcher->dispatch($event, PdbDiscoveryEvent::SEARCH_DIRS);

This is generating php notices and some times makes some other stuff to fail.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡¦πŸ‡·Argentina emacoti

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024