Add symfony/event-dispatcher and symfony/dependency-injection