@@ -10,7 +10,6 @@ |
||
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; |
@@ -10,7 +10,6 @@ discard block |
||
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 |
||
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 | /** |
@@ -10,7 +10,6 @@ |
||
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. |
@@ -5,12 +5,10 @@ |
||
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; |
@@ -10,10 +10,8 @@ |
||
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; |
@@ -3,7 +3,6 @@ |
||
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; |
@@ -15,9 +15,7 @@ |
||
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 |