|
49 | 49 | use Symfony\Component\Filesystem\Filesystem; |
50 | 50 | use SelfUpdate\SelfUpdateCommand; |
51 | 51 | use Pantheon\Terminus\Hooks\CommandTracker; |
52 | | -use Pantheon\Terminus\Hooks\CommandSignalHandler; |
53 | 52 | use Symfony\Component\EventDispatcher\EventDispatcher; |
54 | 53 | use Pantheon\Terminus\Update\UpdateChecker; |
55 | 54 |
|
@@ -149,9 +148,6 @@ public function __construct(Config $config, InputInterface $input, OutputInterfa |
149 | 148 | $update_checker->run(); |
150 | 149 |
|
151 | 150 | $container->get('eventDispatcher')->addSubscriber($container->get('Pantheon\Terminus\Hooks\CommandTracker')); |
152 | | - $container->get('eventDispatcher')->addSubscriber( |
153 | | - $container->get('Pantheon\Terminus\Hooks\CommandSignalHandler') |
154 | | - ); |
155 | 151 |
|
156 | 152 | // We can't use Robo\Application addSelfUpdateCommand because if plugin manager is running it won't be a phar from there. |
157 | 153 | if (!empty(\Phar::running())) { |
@@ -237,9 +233,6 @@ private function configureContainer() |
237 | 233 | // Command Tracker |
238 | 234 | $container->add(CommandTracker::class); |
239 | 235 |
|
240 | | - // Command Signal Handler |
241 | | - $container->add(CommandSignalHandler::class); |
242 | | - |
243 | 236 | // Install our command cache into the command factory |
244 | 237 | $commandCacheDir = $this->getConfig()->get('command_cache_dir'); |
245 | 238 | if (!is_dir($commandCacheDir)) { |
@@ -337,7 +330,6 @@ private function addBuiltInCommandsAndHooks() |
337 | 330 | // List of all hooks and commands. Update via 'composer update-class-lists' |
338 | 331 | $this->commands = [ |
339 | 332 | 'Pantheon\\Terminus\\Hooks\\Authorizer', |
340 | | - 'Pantheon\\Terminus\\Hooks\\CommandSignalHandler', |
341 | 333 | 'Pantheon\\Terminus\\Hooks\\CommandTracker', |
342 | 334 | 'Pantheon\\Terminus\\Hooks\\Interacter', |
343 | 335 | 'Pantheon\\Terminus\\Hooks\\RoleValidator', |
|
0 commit comments