Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / drush / drush / tests / resources / modules / d8 / woot / src / Commands / GreetCommand.php
diff --git a/vendor/drush/drush/tests/resources/modules/d8/woot/src/Commands/GreetCommand.php b/vendor/drush/drush/tests/resources/modules/d8/woot/src/Commands/GreetCommand.php
deleted file mode 100644 (file)
index cd52c0c..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?php
-namespace Drupal\woot\Commands;
-
-use Symfony\Component\Console\Command\Command;
-use Symfony\Component\Console\Input\InputArgument;
-use Symfony\Component\Console\Input\InputInterface;
-use Symfony\Component\Console\Input\InputOption;
-use Symfony\Component\Console\Output\OutputInterface;
-
-/**
- * This is a literal copy of the example Symfony Console command
- * from the documentation.
- *
- * See: http://symfony.com/doc/2.7/components/console/introduction.html#creating-a-basic-command
- */
-class GreetCommand extends Command
-{
-    protected function configure()
-    {
-        $this
-            ->setName('demo:greet')
-            ->setDescription('Greet someone')
-            ->addArgument(
-                'name',
-                InputArgument::OPTIONAL,
-                'Who do you want to greet?'
-            )
-            ->addOption(
-                'yell',
-                null,
-                InputOption::VALUE_NONE,
-                'If set, the task will yell in uppercase letters'
-            )
-        ;
-    }
-
-    protected function execute(InputInterface $input, OutputInterface $output)
-    {
-        $name = $input->getArgument('name');
-        if ($name) {
-            $text = 'Hello '.$name;
-        } else {
-            $text = 'Hello';
-        }
-
-        if ($input->getOption('yell')) {
-            $text = strtoupper($text);
-        }
-
-        $output->writeln($text);
-    }
-}