@@ -26,7 +26,6 @@ |
||
26 | 26 | use PDO; |
27 | 27 | use Addiks\RDMBundle\Mapping\MappingInterface; |
28 | 28 | use Addiks\RDMBundle\ValueResolver\ValueResolverInterface; |
29 | -use Doctrine\ORM\Proxy\Proxy; |
|
30 | 29 | |
31 | 30 | /** |
32 | 31 | * A very simple loader that just executes one simple select statement for every entity to load the data for. |
@@ -23,9 +23,6 @@ |
||
23 | 23 | use Doctrine\ORM\UnitOfWork; |
24 | 24 | use Doctrine\DBAL\Schema\Table; |
25 | 25 | use Doctrine\DBAL\Schema\Column; |
26 | -use Doctrine\Common\EventArgs; |
|
27 | -use Doctrine\Common\Persistence\ObjectManager; |
|
28 | -use Doctrine\ORM\Event\OnFlushEventArgs; |
|
29 | 26 | use Doctrine\ORM\Event\PostFlushEventArgs; |
30 | 27 | use Doctrine\ORM\Proxy\Proxy; |
31 | 28 |
@@ -11,7 +11,6 @@ |
||
11 | 11 | namespace Addiks\RDMBundle\Exception; |
12 | 12 | |
13 | 13 | use ErrorException; |
14 | -use ReflectionProperty; |
|
15 | 14 | use ReflectionClass; |
16 | 15 | use Addiks\RDMBundle\Exception\FailedRDMAssertionExceptionInterface; |
17 | 16 |
@@ -13,13 +13,10 @@ |
||
13 | 13 | use ReflectionClass; |
14 | 14 | use ReflectionProperty; |
15 | 15 | use Doctrine\Common\Util\ClassUtils; |
16 | -use Doctrine\DBAL\Schema\Column; |
|
17 | 16 | use Addiks\RDMBundle\Mapping\Drivers\MappingDriverInterface; |
18 | 17 | use Addiks\RDMBundle\Mapping\EntityMappingInterface; |
19 | 18 | use Addiks\RDMBundle\Mapping\MappingInterface; |
20 | -use Addiks\RDMBundle\Mapping\ServiceMapping; |
|
21 | 19 | use Addiks\RDMBundle\Hydration\EntityHydratorInterface; |
22 | -use Addiks\RDMBundle\Exception\FailedRDMAssertionException; |
|
23 | 20 | use Addiks\RDMBundle\ValueResolver\ValueResolverInterface; |
24 | 21 | use Addiks\RDMBundle\DataLoader\DataLoaderInterface; |
25 | 22 | use Doctrine\ORM\EntityManagerInterface; |
@@ -12,7 +12,6 @@ |
||
12 | 12 | |
13 | 13 | use Doctrine\Common\Persistence\Mapping\Driver\FileLocator; |
14 | 14 | use Addiks\RDMBundle\Mapping\Drivers\MappingDriverInterface; |
15 | -use Addiks\RDMBundle\Mapping\Annotation\RDMAnnotationInterface; |
|
16 | 15 | use Addiks\RDMBundle\Mapping\EntityMappingInterface; |
17 | 16 | |
18 | 17 | final class MappingPHPDriver implements MappingDriverInterface |
@@ -20,7 +20,6 @@ |
||
20 | 20 | use Addiks\RDMBundle\Mapping\ServiceMapping; |
21 | 21 | use Addiks\RDMBundle\Mapping\MappingInterface; |
22 | 22 | use Addiks\RDMBundle\Mapping\ChoiceMapping; |
23 | -use Addiks\RDMBundle\Exception\InvalidMappingException; |
|
24 | 23 | use DOMAttr; |
25 | 24 | use Doctrine\DBAL\Schema\Column; |
26 | 25 | use Doctrine\DBAL\Types\Type; |
@@ -19,8 +19,6 @@ |
||
19 | 19 | use Addiks\RDMBundle\Mapping\EntityMapping; |
20 | 20 | use Addiks\RDMBundle\Mapping\ServiceMapping; |
21 | 21 | use Addiks\RDMBundle\Mapping\ChoiceMapping; |
22 | -use Doctrine\DBAL\Schema\Column; |
|
23 | -use Doctrine\DBAL\Types\Type; |
|
24 | 22 | |
25 | 23 | final class MappingYamlDriver implements MappingDriverInterface |
26 | 24 | { |
@@ -17,7 +17,6 @@ |
||
17 | 17 | use Symfony\Component\OptionsResolver\OptionsResolverInterface; |
18 | 18 | use Symfony\Component\Form\Extension\Core\Type\ChoiceType; |
19 | 19 | use Symfony\Component\DependencyInjection\ContainerInterface; |
20 | -use Symfony\Component\Form\FormConfigBuilder; |
|
21 | 20 | use Symfony\Component\Form\FormConfigBuilderInterface; |
22 | 21 | use Symfony\Component\Form\CallbackTransformer; |
23 | 22 | use Symfony\Component\OptionsResolver\OptionsResolver; |
@@ -12,7 +12,6 @@ |
||
12 | 12 | |
13 | 13 | use PHPUnit\Framework\TestCase; |
14 | 14 | use Addiks\RDMBundle\DataLoader\ChoosingDataLoaderFactory; |
15 | -use Addiks\RDMBundle\Tests\Hydration\ServiceExample; |
|
16 | 15 | use Symfony\Component\DependencyInjection\ContainerInterface; |
17 | 16 | use Addiks\RDMBundle\DataLoader\DataLoaderInterface; |
18 | 17 |