From 5b62a5ad82a5af4cf60fb0392b966efc89ba99b1 Mon Sep 17 00:00:00 2001 From: Vijaya Chandran Mani Date: Sun, 10 Dec 2017 14:38:47 +0000 Subject: [PATCH] Adding plugin --- src/Composer/GrumPHPPlugin.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Composer/GrumPHPPlugin.php b/src/Composer/GrumPHPPlugin.php index e7f5306..c822471 100644 --- a/src/Composer/GrumPHPPlugin.php +++ b/src/Composer/GrumPHPPlugin.php @@ -2,11 +2,13 @@ namespace DrupalQualityChecker\Composer; +use Composer\EventDispatcher\EventSubscriberInterface; +use Composer\Plugin\PluginInterface; use GrumPHP\Composer\GrumPHPPlugin as GrumPHPPluginDefault; use Composer\Script\Event; use DrupalQualityChecker\Console\Command\ConfigureCommand; -class GrumPHPPlugin extends GrumPHPPluginDefault +class GrumPHPPlugin extends GrumPHPPluginDefault implements PluginInterface, EventSubscriberInterface { public function runScheduledTasks(Event $event)