diff --git a/qs b/qs old mode 100644 new mode 100755 index d47f96dd7774296d3414410c78e1e132c7f2b1fe..f7e5218eb6e021fbdbf92ad01a029ffc4b0825b4 --- a/qs +++ b/qs @@ -1,7 +1,7 @@ #!/usr/bin/env php <?php -use TechDivision\QsWorkshop\Command\HelloWorld; +use TechDivision\QsWorkshop\Command\HelloWorldCommand; use Symfony\Component\Console\Application; if (file_exists(__DIR__ . '/../../autoload.php')) { @@ -15,6 +15,6 @@ if (file_exists(__DIR__ . '/../../autoload.php')) { */ $app = new Application('QS Workshop', '1.0.0'); -$app->add(new HelloWorld()); +$app->add(new HelloWorldCommand()); $app->run(); diff --git a/src/Command/HelloWorld.php b/src/Command/HelloWorldCommand.php similarity index 94% rename from src/Command/HelloWorld.php rename to src/Command/HelloWorldCommand.php index c8d71a1e4bb6677c9d619559b2551dfb0cb95b0b..0e58624af9ded1ecae49ad27d8d381b09f66769f 100644 --- a/src/Command/HelloWorld.php +++ b/src/Command/HelloWorldCommand.php @@ -6,7 +6,7 @@ use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; -class HelloWorld extends Command +class HelloWorldCommand extends Command { protected function configure() {