Completed
Push — master ( 4a4bf4...63fe9e )
by Gerrit
02:30
created
DataLoader/SimpleSelectDataLoader.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     }
71 71
 
72 72
     /**
73
-     * @param object $entity
73
+     * @param \Addiks\RDMBundle\Tests\Hydration\EntityExample $entity
74 74
      */
75 75
     public function loadDBALDataForEntity($entity, EntityManagerInterface $entityManager): array
76 76
     {
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
     }
164 164
 
165 165
     /**
166
-     * @param object $entity
166
+     * @param \Addiks\RDMBundle\Tests\Hydration\EntityExample $entity
167 167
      */
168 168
     public function storeDBALDataForEntity($entity, EntityManagerInterface $entityManager): void
169 169
     {
Please login to merge, or discard this patch.
Mapping/Drivers/MappingPHPDriver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 
44 44
                 (
45 45
                     /**
46
-                     * @param mixed $rdmMapping
46
+                     * @param string $rdmMapping
47 47
                      */
48 48
                     function (&$rdmMapping) use ($mappingFile): void {
49 49
                         /** @psalm-suppress UnresolvableInclude */
Please login to merge, or discard this patch.
Symfony/FormType/ServiceFormType.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 
44 44
             $builder->addModelTransformer(new CallbackTransformer(
45 45
                 /**
46
-                 * @param object $service
46
+                 * @param FormBuilderInterface $service
47 47
                  */
48 48
                 function ($service) use ($container, $options): ?string {
49 49
                     /** @var ?string $serviceId */
Please login to merge, or discard this patch.
Tests/DataLoader/SimpleSelectDataLoaderTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -23,9 +23,7 @@
 block discarded – undo
23 23
 use Doctrine\ORM\Query\Expr;
24 24
 use Doctrine\DBAL\Driver\Statement;
25 25
 use PHPUnit\Framework\TestCase;
26
-use Addiks\RDMBundle\Mapping\ServiceMapping;
27 26
 use Doctrine\ORM\UnitOfWork;
28
-use Addiks\RDMBundle\Tests\Hydration\ServiceExample;
29 27
 
30 28
 final class DataSimpleSelectLoaderTest extends TestCase
31 29
 {
Please login to merge, or discard this patch.
Tests/Hydration/EntityHydratorTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -13,14 +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 18
 use Addiks\RDMBundle\Mapping\ServiceMapping;
21 19
 use Addiks\RDMBundle\Mapping\EntityMapping;
22 20
 use Addiks\RDMBundle\ValueResolver\ValueResolverInterface;
23
-use Addiks\RDMBundle\Exception\FailedRDMAssertionExceptionInterface;
24 21
 use Addiks\RDMBundle\DataLoader\DataLoaderInterface;
25 22
 use Doctrine\ORM\EntityManagerInterface;
26 23
 
Please login to merge, or discard this patch.
Tests/IntegrationTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,6 @@
 block discarded – undo
44 44
 use Addiks\RDMBundle\Tests\Hydration\ServiceExample;
45 45
 use Addiks\RDMBundle\Mapping\Annotation\Service;
46 46
 use Addiks\RDMBundle\Exception\FailedRDMAssertionExceptionInterface;
47
-use Doctrine\ORM\Event\OnFlushEventArgs;
48 47
 use Doctrine\ORM\UnitOfWork;
49 48
 use Doctrine\DBAL\Connection;
50 49
 use Doctrine\DBAL\Statement;
Please login to merge, or discard this patch.
Tests/Mapping/DriverFactories/MappingAnnotationDriverFactoryTest.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\MappingAnnotationDriverFactory;
17 15
 use Addiks\RDMBundle\Mapping\Drivers\MappingAnnotationDriver;
18 16
 use Doctrine\ORM\Mapping\Driver\AnnotationDriver;
Please login to merge, or discard this patch.
Tests/Mapping/DriverFactories/MappingDriverFactoryAggregateTest.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 Addiks\RDMBundle\Mapping\DriverFactories\MappingDriverFactoryInterface;
15 15
 use Doctrine\Common\Persistence\Mapping\Driver\MappingDriver;
16 16
 use Addiks\RDMBundle\Mapping\Drivers\MappingDriverInterface;
17
-use Addiks\RDMBundle\Tests\Hydration\EntityExample;
18 17
 use Addiks\RDMBundle\Mapping\DriverFactories\MappingDriverFactoryAggregate;
19 18
 
20 19
 final class MappingDriverFactoryAggregateTest extends TestCase
Please login to merge, or discard this patch.
Tests/Mapping/DriverFactories/MappingDriverFactoryLazyLoadProxyTest.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 Addiks\RDMBundle\Mapping\DriverFactories\MappingDriverFactoryInterface;
15 15
 use Doctrine\Common\Persistence\Mapping\Driver\MappingDriver;
16 16
 use Addiks\RDMBundle\Mapping\Drivers\MappingDriverInterface;
17
-use Addiks\RDMBundle\Tests\Hydration\EntityExample;
18 17
 use Addiks\RDMBundle\Mapping\DriverFactories\MappingDriverFactoryLazyLoadProxy;
19 18
 use Symfony\Component\DependencyInjection\ContainerInterface;
20 19
 
Please login to merge, or discard this patch.