From bf93512efec0f976f9211ecdf422e7bb2e0a7086 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Tamarelle?= Date: Sat, 9 Dec 2023 11:56:21 +0100 Subject: [PATCH] Fix CS --- Command/DoctrineODMCommand.php | 13 ------------- DependencyInjection/DoctrineMongoDBExtension.php | 1 - .../LoadDataFixturesDoctrineODMCommandTest.php | 1 - 3 files changed, 15 deletions(-) diff --git a/Command/DoctrineODMCommand.php b/Command/DoctrineODMCommand.php index 72f2636d..63b04994 100644 --- a/Command/DoctrineODMCommand.php +++ b/Command/DoctrineODMCommand.php @@ -6,22 +6,9 @@ use Doctrine\Bundle\MongoDBBundle\ManagerRegistry; use Doctrine\ODM\MongoDB\Tools\Console\Helper\DocumentManagerHelper; -use Doctrine\Persistence\ObjectManager; -use InvalidArgumentException; -use LogicException; -use RuntimeException; use Symfony\Bundle\FrameworkBundle\Console\Application; use Symfony\Component\Console\Command\Command; use Symfony\Component\DependencyInjection\ContainerInterface; -use Symfony\Component\HttpKernel\Bundle\Bundle; - -use function assert; -use function sprintf; -use function str_replace; -use function strtolower; -use function trigger_deprecation; - -use const DIRECTORY_SEPARATOR; /** * Base class for Doctrine ODM console commands to extend. diff --git a/DependencyInjection/DoctrineMongoDBExtension.php b/DependencyInjection/DoctrineMongoDBExtension.php index db96ba3c..2035405d 100644 --- a/DependencyInjection/DoctrineMongoDBExtension.php +++ b/DependencyInjection/DoctrineMongoDBExtension.php @@ -13,7 +13,6 @@ use Doctrine\Bundle\MongoDBBundle\Repository\ServiceDocumentRepositoryInterface; use Doctrine\Common\Cache\MemcacheCache; use Doctrine\Common\Cache\RedisCache; -use Doctrine\Common\DataFixtures\Loader as DataFixturesLoader; use Doctrine\Common\EventSubscriber; use Doctrine\ODM\MongoDB\DocumentManager; use InvalidArgumentException; diff --git a/Tests/Command/LoadDataFixturesDoctrineODMCommandTest.php b/Tests/Command/LoadDataFixturesDoctrineODMCommandTest.php index bba29542..e4552a42 100644 --- a/Tests/Command/LoadDataFixturesDoctrineODMCommandTest.php +++ b/Tests/Command/LoadDataFixturesDoctrineODMCommandTest.php @@ -9,7 +9,6 @@ use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; use Symfony\Component\Console\Tester\CommandTester; - class LoadDataFixturesDoctrineODMCommandTest extends KernelTestCase { private LoadDataFixturesDoctrineODMCommand $command;