Passed
Push — master ( c42630...1bfa7d )
by Gerrit
08:20 queued 11s
created
Tests/Mapping/Drivers/MappingDriverChainTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Tests/Hydration/EntityHydratorTest.php 1 patch
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -13,17 +13,11 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Tests/Mapping/Drivers/CachedMappingDriverTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -20,9 +20,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
Tests/Mapping/DriverFactories/MappingStaticPHPDriverFactoryTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
DataLoader/BlackMagic/BlackMagicDataLoader.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -18,11 +18,8 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
DataLoader/SimpleSelectDataLoader.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -24,10 +24,8 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
Mapping/Drivers/CachedMappingDriver.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Mapping/Drivers/MappingXmlDriver.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,6 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
Mapping/EntityMapping.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -13,13 +13,10 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.