Passed
Push — master ( 59ef72...ed809e )
by Gerrit
04:43
created
DataLoader/SimpleSelectDataLoader.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
Doctrine/EventListener.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -23,9 +23,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Exception/FailedRDMAssertionException.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Hydration/EntityHydrator.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 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;
Please login to merge, or discard this patch.
Mapping/Drivers/MappingPHPDriver.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
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
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
@@ -20,7 +20,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Mapping/Drivers/MappingYamlDriver.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -19,8 +19,6 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
Symfony/FormType/ServiceFormType.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Tests/DataLoader/ChoosingDataLoaderFactoryTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.