Passed
Push — master ( 6a3b4a...6f7302 )
by Gerrit
03:04
created
Tests/Mapping/ArrayMappingTest.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\ArrayMapping;
15 15
 use Addiks\RDMBundle\Mapping\MappingInterface;
16 16
 use Doctrine\DBAL\Schema\Column;
17
-use InvalidArgumentException;
18 17
 use Addiks\RDMBundle\Hydration\HydrationContextInterface;
19 18
 use Addiks\RDMBundle\Tests\Hydration\EntityExample;
20 19
 use Addiks\RDMBundle\Exception\FailedRDMAssertionExceptionInterface;
Please login to merge, or discard this patch.
Tests/Mapping/ChoiceMappingTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -37,6 +37,9 @@
 block discarded – undo
37 37
      */
38 38
     private $optionMappingB;
39 39
 
40
+    /**
41
+     * @param string $column
42
+     */
40 43
     public function setUp(
41 44
         $column = null
42 45
     ) {
Please login to merge, or discard this patch.
Tests/Mapping/Drivers/MappingStaticPHPDriverTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -12,9 +12,6 @@
 block discarded – undo
12 12
 
13 13
 use PHPUnit\Framework\TestCase;
14 14
 use Addiks\RDMBundle\Tests\Hydration\EntityExample;
15
-use Addiks\RDMBundle\Mapping\Annotation\Service;
16
-use ReflectionProperty;
17
-use Addiks\RDMBundle\Mapping\Drivers\MappingDriverInterface;
18 15
 use Addiks\RDMBundle\Mapping\Drivers\MappingStaticPHPDriver;
19 16
 use Addiks\RDMBundle\Mapping\EntityMapping;
20 17
 use Addiks\RDMBundle\Mapping\ServiceMapping;
Please login to merge, or discard this patch.
Mapping/CallDefinition.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -112,10 +112,10 @@
 block discarded – undo
112 112
                 $callee = $context->getEntity();
113 113
 
114 114
             } elseif (in_array($objectReference, ['self', 'this'])) {
115
-                $callee = $hydrationStack[count($hydrationStack)-1];
115
+                $callee = $hydrationStack[count($hydrationStack) - 1];
116 116
 
117 117
             } elseif (in_array($objectReference, ['parent'])) {
118
-                $callee = $hydrationStack[count($hydrationStack)-2];
118
+                $callee = $hydrationStack[count($hydrationStack) - 2];
119 119
 
120 120
             } elseif ($objectReference[0] === '@') {
121 121
                 /** @var string $serviceId */
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
@@ -35,7 +35,6 @@
 block discarded – undo
35 35
 use Addiks\RDMBundle\Mapping\MappingProxy;
36 36
 use Addiks\RDMBundle\Exception\InvalidMappingException;
37 37
 use Symfony\Component\HttpKernel\KernelInterface;
38
-use Symfony\Component\DependencyInjection\ContainerInterface;
39 38
 
40 39
 final class MappingXmlDriver implements MappingDriverInterface
41 40
 {
Please login to merge, or discard this patch.