From 24a54d1917071bbb468645999abcf10b6acc00c9 Mon Sep 17 00:00:00 2001 From: Vadim Justus <v.justus@techdivision.com> Date: Thu, 20 Mar 2025 14:55:42 +0100 Subject: [PATCH] Rename hello-world command class --- qs | 4 ++-- src/Command/{HelloWorld.php => HelloWorldCommand.php} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 qs rename src/Command/{HelloWorld.php => HelloWorldCommand.php} (94%) diff --git a/qs b/qs old mode 100644 new mode 100755 index d47f96d..f7e5218 --- 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 c8d71a1..0e58624 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() { -- GitLab