From 6bb8c1b2f54515adcdefc4e32057e8ba1868da5e Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Mon, 15 May 2023 09:02:23 +0200 Subject: [PATCH] Rename CLI Option namespace to Input --- module/CLI/src/Command/ShortUrl/ListShortUrlsCommand.php | 4 ++-- module/CLI/src/Command/Visit/AbstractVisitsListCommand.php | 4 ++-- module/CLI/src/{Option => Input}/DateOption.php | 2 +- module/CLI/src/{Option => Input}/EndDateOption.php | 2 +- module/CLI/src/{Option => Input}/StartDateOption.php | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) rename module/CLI/src/{Option => Input}/DateOption.php (97%) rename module/CLI/src/{Option => Input}/EndDateOption.php (95%) rename module/CLI/src/{Option => Input}/StartDateOption.php (95%) diff --git a/module/CLI/src/Command/ShortUrl/ListShortUrlsCommand.php b/module/CLI/src/Command/ShortUrl/ListShortUrlsCommand.php index 9202957b..f31de184 100644 --- a/module/CLI/src/Command/ShortUrl/ListShortUrlsCommand.php +++ b/module/CLI/src/Command/ShortUrl/ListShortUrlsCommand.php @@ -4,8 +4,8 @@ declare(strict_types=1); namespace Shlinkio\Shlink\CLI\Command\ShortUrl; -use Shlinkio\Shlink\CLI\Option\EndDateOption; -use Shlinkio\Shlink\CLI\Option\StartDateOption; +use Shlinkio\Shlink\CLI\Input\EndDateOption; +use Shlinkio\Shlink\CLI\Input\StartDateOption; use Shlinkio\Shlink\CLI\Util\ExitCodes; use Shlinkio\Shlink\CLI\Util\ShlinkTable; use Shlinkio\Shlink\Common\Paginator\Paginator; diff --git a/module/CLI/src/Command/Visit/AbstractVisitsListCommand.php b/module/CLI/src/Command/Visit/AbstractVisitsListCommand.php index 402d5ba4..2cd9c0c8 100644 --- a/module/CLI/src/Command/Visit/AbstractVisitsListCommand.php +++ b/module/CLI/src/Command/Visit/AbstractVisitsListCommand.php @@ -4,8 +4,8 @@ declare(strict_types=1); namespace Shlinkio\Shlink\CLI\Command\Visit; -use Shlinkio\Shlink\CLI\Option\EndDateOption; -use Shlinkio\Shlink\CLI\Option\StartDateOption; +use Shlinkio\Shlink\CLI\Input\EndDateOption; +use Shlinkio\Shlink\CLI\Input\StartDateOption; use Shlinkio\Shlink\CLI\Util\ExitCodes; use Shlinkio\Shlink\CLI\Util\ShlinkTable; use Shlinkio\Shlink\Common\Paginator\Paginator; diff --git a/module/CLI/src/Option/DateOption.php b/module/CLI/src/Input/DateOption.php similarity index 97% rename from module/CLI/src/Option/DateOption.php rename to module/CLI/src/Input/DateOption.php index a863696f..41407d23 100644 --- a/module/CLI/src/Option/DateOption.php +++ b/module/CLI/src/Input/DateOption.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Shlinkio\Shlink\CLI\Option; +namespace Shlinkio\Shlink\CLI\Input; use Cake\Chronos\Chronos; use Symfony\Component\Console\Command\Command; diff --git a/module/CLI/src/Option/EndDateOption.php b/module/CLI/src/Input/EndDateOption.php similarity index 95% rename from module/CLI/src/Option/EndDateOption.php rename to module/CLI/src/Input/EndDateOption.php index 72421981..000a135e 100644 --- a/module/CLI/src/Option/EndDateOption.php +++ b/module/CLI/src/Input/EndDateOption.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Shlinkio\Shlink\CLI\Option; +namespace Shlinkio\Shlink\CLI\Input; use Cake\Chronos\Chronos; use Symfony\Component\Console\Command\Command; diff --git a/module/CLI/src/Option/StartDateOption.php b/module/CLI/src/Input/StartDateOption.php similarity index 95% rename from module/CLI/src/Option/StartDateOption.php rename to module/CLI/src/Input/StartDateOption.php index 2da5aaee..0954e82f 100644 --- a/module/CLI/src/Option/StartDateOption.php +++ b/module/CLI/src/Input/StartDateOption.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Shlinkio\Shlink\CLI\Option; +namespace Shlinkio\Shlink\CLI\Input; use Cake\Chronos\Chronos; use Symfony\Component\Console\Command\Command;