deal with deprecated Symfony Event class

Created on 16 August 2022, almost 2 years ago
Updated 24 October 2023, 8 months 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.69.0 2024