Symfony Event class is deprecated

Created on 28 February 2023, almost 2 years ago
Updated 23 May 2023, over 1 year ago

Problem/Motivation

\Symfony\Component\EventDispatcher\Event is deprecated in Symfony 4.
Please see Symfony Event class deprecated, EventDispatcher::dispatch() argument order changed

<!--break-->

When running Phan PHP static analyzer:

web/modules/contrib/flysystem/src/Event/EnsureEvent.php:10 PhanDeprecatedClass 
Using a deprecated class \Symfony\Component\EventDispatcher\Event defined at vendor/symfony/event-dispatcher/Event.php:17 
(Deprecated because: since Symfony 4.3, use "Symfony\Contracts\EventDispatcher\Event" instead)
📌 Task
Status

Fixed

Version

2.1

Component

Code

Created by

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