From ffce81f352470a9e7b0b2da0b53a808ba600755f Mon Sep 17 00:00:00 2001 From: Grzegorz Rola <grola@seostudio.pl> Date: Wed, 4 Aug 2021 16:27:55 +0200 Subject: [PATCH] feature(init): initial version --- src/ActivationReminder/Composer/Plugin.php | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/ActivationReminder/Composer/Plugin.php b/src/ActivationReminder/Composer/Plugin.php index 94d0e2b..838f4bb 100644 --- a/src/ActivationReminder/Composer/Plugin.php +++ b/src/ActivationReminder/Composer/Plugin.php @@ -5,8 +5,6 @@ namespace WPDesk\ActivationReminder\Composer; use Composer\Composer; use Composer\EventDispatcher\EventSubscriberInterface; use Composer\IO\IOInterface; -use Composer\Plugin\Capability\CommandProvider; -use Composer\Plugin\Capable; use Composer\EventDispatcher\Event; use Composer\Plugin\PluginInterface; use Composer\Script\ScriptEvents; @@ -16,7 +14,7 @@ use Composer\Script\ScriptEvents; * * @package WPDesk\Composer\GitPlugin */ -class Plugin implements PluginInterface, Capable, EventSubscriberInterface { +class Plugin implements PluginInterface, EventSubscriberInterface { const PRIORITY_RUN_LAST = 1; @@ -60,15 +58,6 @@ class Plugin implements PluginInterface, Capable, EventSubscriberInterface { $this->io = $io; } - /** - * @inheritDoc - */ - public function getCapabilities(): array { - return [ - CommandProvider::class => CommandProvider::class - ]; - } - /** * @inheritDoc */ -- GitLab