From a5e223064069f98bbaa14090d0439064072406c7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Wed, 28 Feb 2024 12:29:28 +0100 Subject: [PATCH 1/1] Rename Command/Command in Command Strict types --- Command/AttributeCommand.php | 13 ++++++++++++- Command/Calendar2Command.php | 3 ++- Command/CalendarCommand.php | 12 +++++++++++- Command/RekeyCommand.php | 12 +++++++++++- Command/WeatherCommand.php | 12 +++++++++++- 5 files changed, 47 insertions(+), 5 deletions(-) diff --git a/Command/AttributeCommand.php b/Command/AttributeCommand.php index 48f5f01..f4fa133 100644 --- a/Command/AttributeCommand.php +++ b/Command/AttributeCommand.php @@ -1,10 +1,21 @@ - + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ namespace Rapsys\AirBundle\Command; use Doctrine\Bundle\DoctrineBundle\Command\DoctrineCommand; + use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; + use Rapsys\AirBundle\Entity\Session; class AttributeCommand extends DoctrineCommand { diff --git a/Command/Calendar2Command.php b/Command/Calendar2Command.php index 76d5c4c..0ddcd3f 100644 --- a/Command/Calendar2Command.php +++ b/Command/Calendar2Command.php @@ -26,9 +26,10 @@ use Symfony\Contracts\Translation\TranslatorInterface; use Twig\Extra\Markdown\DefaultMarkdown; -use Rapsys\AirBundle\Entity\Session; +use Rapsys\AirBundle\Command; use Rapsys\AirBundle\Entity\GoogleCalendar; use Rapsys\AirBundle\Entity\GoogleToken; +use Rapsys\AirBundle\Entity\Session; use Rapsys\PackBundle\Util\SluggerUtil; diff --git a/Command/CalendarCommand.php b/Command/CalendarCommand.php index 2488f51..003910a 100644 --- a/Command/CalendarCommand.php +++ b/Command/CalendarCommand.php @@ -1,4 +1,13 @@ - + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ namespace Rapsys\AirBundle\Command; @@ -13,6 +22,7 @@ use Symfony\Component\Routing\RouterInterface; use Symfony\Contracts\Translation\TranslatorInterface; use Twig\Extra\Markdown\DefaultMarkdown; +use Rapsys\AirBundle\Command; use Rapsys\AirBundle\Entity\Session; use Rapsys\PackBundle\Util\SluggerUtil; diff --git a/Command/RekeyCommand.php b/Command/RekeyCommand.php index 630d443..d25009c 100644 --- a/Command/RekeyCommand.php +++ b/Command/RekeyCommand.php @@ -1,4 +1,13 @@ - + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ namespace Rapsys\AirBundle\Command; @@ -6,6 +15,7 @@ use Doctrine\Bundle\DoctrineBundle\Command\DoctrineCommand; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; +use Rapsys\AirBundle\Command; use Rapsys\AirBundle\Entity\Session; class RekeyCommand extends DoctrineCommand { diff --git a/Command/WeatherCommand.php b/Command/WeatherCommand.php index ed7b8be..840635b 100644 --- a/Command/WeatherCommand.php +++ b/Command/WeatherCommand.php @@ -1,9 +1,19 @@ - + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ namespace Rapsys\AirBundle\Command; use Doctrine\Bundle\DoctrineBundle\Command\DoctrineCommand; use Doctrine\Persistence\ManagerRegistry; + use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Filesystem\Exception\IOException; -- 2.41.1