Skip to content
Snippets Groups Projects

Issue #3245428: Remove event names and use event classes instead.

Merged Issue #3245428: Remove event names and use event classes instead.
All threads resolved!
All threads resolved!
20 files
+ 77
122
Compare changes
  • Side-by-side
  • Inline
Files
20
@@ -2,7 +2,6 @@
@@ -2,7 +2,6 @@
namespace Drupal\automatic_updates\Event;
namespace Drupal\automatic_updates\Event;
use Drupal\automatic_updates\AutomaticUpdatesEvents;
use Drupal\Core\File\FileSystemInterface;
use Drupal\Core\File\FileSystemInterface;
use Drupal\Core\StreamWrapper\LocalStream;
use Drupal\Core\StreamWrapper\LocalStream;
use Drupal\Core\StreamWrapper\StreamWrapperManagerInterface;
use Drupal\Core\StreamWrapper\StreamWrapperManagerInterface;
@@ -158,8 +157,8 @@ class ExcludedPathsSubscriber implements EventSubscriberInterface {
@@ -158,8 +157,8 @@ class ExcludedPathsSubscriber implements EventSubscriberInterface {
*/
*/
public static function getSubscribedEvents() {
public static function getSubscribedEvents() {
return [
return [
AutomaticUpdatesEvents::PRE_START => 'preStart',
PreStartEvent::class => 'preStart',
AutomaticUpdatesEvents::PRE_COMMIT => 'preCommit',
PreCommitEvent::class => 'preCommit',
];
];
}
}
Loading