deal with deprecated Symfony Event class

Created on 16 August 2022, about 2 years ago
Updated 24 October 2023, about 1 year ago

Problem/Motivation

Symfony\Component\EventDispatcher\Event is deprecated.

Proposed solution

in src/Event/ElementEvents.php
replace
use Symfony\Component\EventDispatcher\Event;
with
use Drupal\Component\EventDispatcher\Event;

Also in src/Service/ElementHandler.php reverse order of arguments in ->dispatch().

See the Change record .

📌 Task
Status

Fixed

Version

3.0

Component

Code

Created by

🇬🇧United Kingdom John_B London (UK), Worthing (UK), Innsbruck (Tirol)

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024