From fb9f7424c89363f4a50ddd20f3587af113bda5cc Mon Sep 17 00:00:00 2001 From: Peter Jaap Blaakmeer Date: Thu, 29 Sep 2022 16:28:03 +0200 Subject: [PATCH 1/2] Change command name to LookupTest instead of just Test --- etc/di.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/di.xml b/etc/di.xml index 1ce8233..14a3cfc 100644 --- a/etc/di.xml +++ b/etc/di.xml @@ -3,9 +3,9 @@ - Experius\Postcode\Console\Command\Test + Experius\Postcode\Console\Command\LookupTest - \ No newline at end of file + From a90db333548e5dcef00656c8c0366da5e6d9e78e Mon Sep 17 00:00:00 2001 From: Peter Jaap Blaakmeer Date: Thu, 29 Sep 2022 16:29:05 +0200 Subject: [PATCH 2/2] Update and rename Test.php to LookupTest.php --- Console/Command/{Test.php => LookupTest.php} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename Console/Command/{Test.php => LookupTest.php} (95%) diff --git a/Console/Command/Test.php b/Console/Command/LookupTest.php similarity index 95% rename from Console/Command/Test.php rename to Console/Command/LookupTest.php index 26a94d1..8dfcb1b 100644 --- a/Console/Command/Test.php +++ b/Console/Command/LookupTest.php @@ -18,7 +18,7 @@ use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; -class Test extends Command +class LookupTest extends Command { const NAME_ARGUMENT = "vat"; @@ -60,7 +60,7 @@ protected function execute( protected function configure() { $this->setName("experius_postcode:test"); - $this->setDescription("Test"); + $this->setDescription("Lookup Address Test"); $this->setDefinition([ new InputArgument(self::NAME_ARGUMENT, InputArgument::OPTIONAL, "vat"), new InputOption(self::NAME_OPTION, "-a", InputOption::VALUE_NONE, "Option functionality")