@@ -13,7 +13,6 @@ |
||
| 13 | 13 | use PHPUnit\Framework\TestCase; |
| 14 | 14 | use Addiks\RDMBundle\Tests\Hydration\EntityExample; |
| 15 | 15 | use Addiks\RDMBundle\Mapping\Annotation\Service; |
| 16 | -use ReflectionProperty; |
|
| 17 | 16 | use Addiks\RDMBundle\Mapping\Drivers\MappingDriverChain; |
| 18 | 17 | use Addiks\RDMBundle\Mapping\Drivers\MappingDriverInterface; |
| 19 | 18 | use Addiks\RDMBundle\Mapping\EntityMapping; |
@@ -13,17 +13,11 @@ |
||
| 13 | 13 | use PHPUnit\Framework\TestCase; |
| 14 | 14 | use Addiks\RDMBundle\Hydration\EntityHydrator; |
| 15 | 15 | use Addiks\RDMBundle\Mapping\Drivers\MappingDriverInterface; |
| 16 | -use Addiks\RDMBundle\Mapping\Annotation\Service; |
|
| 17 | 16 | use Addiks\RDMBundle\Tests\Hydration\ServiceExample; |
| 18 | 17 | use Addiks\RDMBundle\Tests\Hydration\EntityExample; |
| 19 | -use ErrorException; |
|
| 20 | -use Addiks\RDMBundle\Mapping\ServiceMapping; |
|
| 21 | 18 | use Addiks\RDMBundle\Mapping\EntityMapping; |
| 22 | -use Addiks\RDMBundle\ValueResolver\ValueResolverInterface; |
|
| 23 | -use Addiks\RDMBundle\Exception\FailedRDMAssertionExceptionInterface; |
|
| 24 | 19 | use Addiks\RDMBundle\DataLoader\DataLoaderInterface; |
| 25 | 20 | use Doctrine\ORM\EntityManagerInterface; |
| 26 | -use Addiks\RDMBundle\Mapping\EntityMappingInterface; |
|
| 27 | 21 | use Addiks\RDMBundle\Mapping\MappingInterface; |
| 28 | 22 | use Addiks\RDMBundle\Hydration\HydrationContextInterface; |
| 29 | 23 | use Symfony\Component\DependencyInjection\ContainerInterface; |
@@ -20,9 +20,7 @@ |
||
| 20 | 20 | use Addiks\RDMBundle\Tests\Hydration\ServiceExample; |
| 21 | 21 | use Addiks\RDMBundle\Tests\ValueObjectExample; |
| 22 | 22 | use Symfony\Component\DependencyInjection\ContainerInterface; |
| 23 | -use Addiks\RDMBundle\Mapping\EntityMappingInterface; |
|
| 24 | 23 | use Addiks\RDMBundle\Mapping\ServiceMapping; |
| 25 | -use Addiks\RDMBundle\Hydration\HydrationContext; |
|
| 26 | 24 | use Addiks\RDMBundle\Hydration\HydrationContextInterface; |
| 27 | 25 | |
| 28 | 26 | final class CachedMappingDriverTest extends TestCase |
@@ -11,8 +11,6 @@ |
||
| 11 | 11 | namespace Addiks\RDMBundle\Tests\Mapping\DriverFactories; |
| 12 | 12 | |
| 13 | 13 | use PHPUnit\Framework\TestCase; |
| 14 | -use Addiks\RDMBundle\Mapping\DriverFactories\MappingDriverFactoryInterface; |
|
| 15 | -use Addiks\RDMBundle\Mapping\Drivers\MappingDriverInterface; |
|
| 16 | 14 | use Addiks\RDMBundle\Mapping\DriverFactories\MappingStaticPHPDriverFactory; |
| 17 | 15 | use Addiks\RDMBundle\Mapping\Drivers\MappingStaticPHPDriver; |
| 18 | 16 | use Doctrine\ORM\Mapping\Driver\StaticPHPDriver; |
@@ -18,11 +18,8 @@ |
||
| 18 | 18 | use Doctrine\ORM\UnitOfWork; |
| 19 | 19 | use Doctrine\DBAL\Schema\Column; |
| 20 | 20 | use Addiks\RDMBundle\Mapping\Drivers\MappingDriverInterface; |
| 21 | -use ReflectionObject; |
|
| 22 | 21 | use Addiks\RDMBundle\Mapping\EntityMappingInterface; |
| 23 | -use ReflectionProperty; |
|
| 24 | 22 | use Webmozart\Assert\Assert; |
| 25 | -use ReflectionClass; |
|
| 26 | 23 | use Addiks\RDMBundle\DataLoader\BlackMagic\BlackMagicColumnReflectionPropertyMock; |
| 27 | 24 | use Addiks\RDMBundle\Hydration\HydrationContext; |
| 28 | 25 | use Doctrine\DBAL\Types\Type; |
@@ -24,10 +24,8 @@ |
||
| 24 | 24 | use Doctrine\ORM\Query\Expr; |
| 25 | 25 | use Doctrine\DBAL\Driver\Statement; |
| 26 | 26 | use PDO; |
| 27 | -use Addiks\RDMBundle\Mapping\MappingInterface; |
|
| 28 | 27 | use Addiks\RDMBundle\Hydration\HydrationContext; |
| 29 | 28 | use Webmozart\Assert\Assert; |
| 30 | -use ErrorException; |
|
| 31 | 29 | |
| 32 | 30 | /** |
| 33 | 31 | * A very simple loader that just executes one simple select statement for every entity to load the data for. |
@@ -14,7 +14,6 @@ |
||
| 14 | 14 | use Psr\Cache\CacheItemInterface; |
| 15 | 15 | use Addiks\RDMBundle\Mapping\Drivers\MappingDriverInterface; |
| 16 | 16 | use Addiks\RDMBundle\Mapping\EntityMappingInterface; |
| 17 | -use Addiks\RDMBundle\Mapping\MappingInterface; |
|
| 18 | 17 | use Webmozart\Assert\Assert; |
| 19 | 18 | use Symfony\Component\DependencyInjection\ContainerInterface; |
| 20 | 19 | |
@@ -37,7 +37,6 @@ |
||
| 37 | 37 | use Symfony\Component\HttpKernel\KernelInterface; |
| 38 | 38 | use Symfony\Component\DependencyInjection\ContainerInterface; |
| 39 | 39 | use ErrorException; |
| 40 | -use DOMElement; |
|
| 41 | 40 | use Webmozart\Assert\Assert; |
| 42 | 41 | |
| 43 | 42 | final class MappingXmlDriver implements MappingDriverInterface |
@@ -13,13 +13,10 @@ |
||
| 13 | 13 | use Addiks\RDMBundle\Mapping\MappingInterface; |
| 14 | 14 | use Addiks\RDMBundle\Mapping\EntityMappingInterface; |
| 15 | 15 | use Doctrine\DBAL\Schema\Column; |
| 16 | -use Addiks\RDMBundle\Mapping\ObjectMapping; |
|
| 17 | 16 | use Webmozart\Assert\Assert; |
| 18 | 17 | use Addiks\RDMBundle\Hydration\HydrationContextInterface; |
| 19 | 18 | use Symfony\Component\DependencyInjection\ContainerInterface; |
| 20 | -use Doctrine\ORM\EntityManagerInterface; |
|
| 21 | 19 | use ReflectionClass; |
| 22 | -use Addiks\RDMBundle\Hydration\HydrationContext; |
|
| 23 | 20 | use ErrorException; |
| 24 | 21 | use ReflectionProperty; |
| 25 | 22 | use ReflectionObject; |