Deprecate \Drupal\Component\EventDispatcher\Event

Created on 15 April 2024, 5 months ago

Problem/Motivation

In πŸ“Œ [Symfony 5] Symfony/Component/EventDispatcher/Event is deprecated in Symfony 4.3 use Symfony/Contracts/EventDispatcher/Event instead Fixed the \Drupal\Component\EventDispatcher\Event class was added to bring in forward support for Symfony 5 while maintaining BC with Symfony 4. Since we're now on Symfony 7 we can probably deprecate this class. Or if we decide it's worth keeping we should update its docs to not mention "forward-compatibility".

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Needs work

Version

11.0 πŸ”₯

Component
BaseΒ  β†’

Last updated less than a minute ago

Created by

πŸ‡¦πŸ‡ΊAustralia mstrelan

Live updates comments and jobs are added and updated live.
  • Needs change record

    A change record needs to be drafted before an issue is committed. Note: Change records used to be called change notifications.

  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024