Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / psy / psysh / src / Command / ExitCommand.php
similarity index 85%
rename from vendor/psy/psysh/src/Psy/Command/ExitCommand.php
rename to vendor/psy/psysh/src/Command/ExitCommand.php
index 10c64b4767f7f5ff3878d66baf0576c2053efbe6..43398861235ab79019190f7b3864d85409ec2a0a 100644 (file)
@@ -3,7 +3,7 @@
 /*
  * This file is part of Psy Shell.
  *
- * (c) 2012-2017 Justin Hileman
+ * (c) 2012-2018 Justin Hileman
  *
  * For the full copyright and license information, please view the LICENSE
  * file that was distributed with this source code.
@@ -29,8 +29,8 @@ class ExitCommand extends Command
     {
         $this
             ->setName('exit')
-            ->setAliases(array('quit', 'q'))
-            ->setDefinition(array())
+            ->setAliases(['quit', 'q'])
+            ->setDefinition([])
             ->setDescription('End the current session and return to caller.')
             ->setHelp(
                 <<<'HELP'
@@ -47,6 +47,6 @@ HELP
      */
     protected function execute(InputInterface $input, OutputInterface $output)
     {
-        throw new BreakException('Goodbye.');
+        throw new BreakException('Goodbye');
     }
 }