Compabillity D10 / Symfony 6

Created on 21 September 2023, over 1 year ago

Problem/Motivation

Upgrade to the last D10 (10.0.11) with hook event dispatcher 4.0.0-rc1
trigger :

Fatal error: Uncaught Error: Class "Symfony\Component\EventDispatcher\Event" not found in /var/www/html/web/modules/contrib/hook_event_dispatcher/modules/core_event_dispatcher/src/Event/Entity/EntityTypeBuildEvent.php:12

Also it's depreciated since symfony 4

Steps to reproduce

Update to last D10 version

Proposed resolution

Deprecated:
since Symfony 4.3, use "Symfony\Contracts\EventDispatcher\Event" instead

🐛 Bug report
Status

Closed: works as designed

Version

4.0

Component

Code

Created by

🇫🇷France musa.thomas France 🇫🇷

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

Comments & Activities

Production build 0.71.5 2024