Commit cea8422d authored by Jonathan Sacksick's avatar Jonathan Sacksick
Browse files

Issue #3262451 by jsacksick: Symfony event class aliasing is no longer necessary.

parent 5718035b
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -2,14 +2,6 @@

namespace Drupal\commerce;

// Drupal\Component\EventDispatcher\Event was introduced in Drupal core 9.1 to
// assist with deprecations and the transition to Symfony 5.
// @todo Remove this when core 9.1 is the lowest supported version.
// @see https://www.drupal.org/project/commerce/issues/3192056
if (!class_exists('Drupal\Component\EventDispatcher\Event')) {
  class_alias('Symfony\Component\EventDispatcher\Event', 'Drupal\Component\EventDispatcher\Event');
}

use Drupal\Component\EventDispatcher\Event;

/**