Completed
Pull Request — master (#892)
by Andreas
04:17
created
DataCollector/DoctrineDataCollector.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 use Doctrine\ORM\Mapping\ClassMetadataFactory;
11 11
 use Doctrine\ORM\Mapping\ClassMetadataInfo;
12 12
 use Doctrine\ORM\Tools\SchemaValidator;
13
-use Doctrine\ORM\Version;
14 13
 use Exception;
15 14
 use Symfony\Bridge\Doctrine\DataCollector\DoctrineDataCollector as BaseCollector;
16 15
 use Symfony\Component\HttpFoundation\Request;
Please login to merge, or discard this patch.
DependencyInjection/DoctrineExtension.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@  discard block
 block discarded – undo
10 10
 use Doctrine\ORM\Version;
11 11
 use LogicException;
12 12
 use Symfony\Bridge\Doctrine\DependencyInjection\AbstractDoctrineExtension;
13
-use Symfony\Bridge\Doctrine\Form\Type\DoctrineType;
14 13
 use Symfony\Bridge\Doctrine\Messenger\DoctrineTransactionMiddleware;
15 14
 use Symfony\Bridge\Doctrine\PropertyInfo\DoctrineExtractor;
16 15
 use Symfony\Component\Config\FileLocator;
@@ -18,14 +17,11 @@  discard block
 block discarded – undo
18 17
 use Symfony\Component\DependencyInjection\ChildDefinition;
19 18
 use Symfony\Component\DependencyInjection\ContainerBuilder;
20 19
 use Symfony\Component\DependencyInjection\Definition;
21
-use Symfony\Component\DependencyInjection\DefinitionDecorator;
22 20
 use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
23 21
 use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
24 22
 use Symfony\Component\DependencyInjection\Reference;
25 23
 use Symfony\Component\DependencyInjection\ServiceLocator;
26
-use Symfony\Component\Form\AbstractType;
27 24
 use Symfony\Component\Messenger\MessageBusInterface;
28
-use Symfony\Component\PropertyInfo\PropertyInfoExtractorInterface;
29 25
 use Symfony\Component\PropertyInfo\PropertyInitializableExtractorInterface;
30 26
 
31 27
 /**
Please login to merge, or discard this patch.
Repository/ContainerRepositoryFactory.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 use InvalidArgumentException;
11 11
 use Psr\Container\ContainerInterface;
12 12
 use RuntimeException;
13
-use Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass;
14 13
 
15 14
 /**
16 15
  * Fetches repositories from the container or falls back to normal creation.
Please login to merge, or discard this patch.
Tests/DependencyInjection/AbstractDoctrineExtensionTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,12 +5,10 @@
 block discarded – undo
5 5
 use Doctrine\Bundle\DoctrineBundle\DependencyInjection\Compiler\EntityListenerPass;
6 6
 use Doctrine\Bundle\DoctrineBundle\DependencyInjection\DoctrineExtension;
7 7
 use Doctrine\ORM\EntityManager;
8
-use Doctrine\ORM\Version;
9 8
 use PHPUnit\Framework\TestCase;
10 9
 use Symfony\Bridge\Doctrine\DependencyInjection\CompilerPass\RegisterEventListenersAndSubscribersPass;
11 10
 use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
12 11
 use Symfony\Component\DependencyInjection\Compiler\ResolveChildDefinitionsPass;
13
-use Symfony\Component\DependencyInjection\Compiler\ResolveDefinitionTemplatesPass;
14 12
 use Symfony\Component\DependencyInjection\ContainerBuilder;
15 13
 use Symfony\Component\DependencyInjection\Definition;
16 14
 use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
Please login to merge, or discard this patch.
Tests/DependencyInjection/DoctrineExtensionTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -10,10 +10,8 @@
 block discarded – undo
10 10
 use Doctrine\DBAL\Connection;
11 11
 use Doctrine\DBAL\Driver\Connection as DriverConnection;
12 12
 use Doctrine\ORM\EntityManagerInterface;
13
-use Doctrine\ORM\Version;
14 13
 use PHPUnit\Framework\TestCase;
15 14
 use Symfony\Component\DependencyInjection\Compiler\ResolveChildDefinitionsPass;
16
-use Symfony\Component\DependencyInjection\Compiler\ResolveDefinitionTemplatesPass;
17 15
 use Symfony\Component\DependencyInjection\ContainerBuilder;
18 16
 use Symfony\Component\DependencyInjection\Definition;
19 17
 use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
Please login to merge, or discard this patch.
Tests/Mapping/ContainerAwareEntityListenerResolverTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Doctrine\Bundle\DoctrineBundle\Tests\Mapping;
4 4
 
5 5
 use Doctrine\Bundle\DoctrineBundle\Mapping\ContainerAwareEntityListenerResolver;
6
-use Doctrine\ORM\Mapping\EntityListenerResolver;
7 6
 use PHPUnit\Framework\TestCase;
8 7
 use PHPUnit_Framework_MockObject_MockObject;
9 8
 use Symfony\Component\DependencyInjection\ContainerInterface;
Please login to merge, or discard this patch.
Tests/ServiceRepositoryTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -15,9 +15,7 @@
 block discarded – undo
15 15
 use Fixtures\Bundles\RepositoryServiceBundle\Repository\TestCustomClassRepoRepository;
16 16
 use Fixtures\Bundles\RepositoryServiceBundle\Repository\TestCustomServiceRepoRepository;
17 17
 use Fixtures\Bundles\RepositoryServiceBundle\RepositoryServiceBundle;
18
-use RuntimeException;
19 18
 use Symfony\Component\DependencyInjection\Alias;
20
-use Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass;
21 19
 use Symfony\Component\DependencyInjection\ContainerBuilder;
22 20
 use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
23 21
 
Please login to merge, or discard this patch.