Completed
Branch develop (b41e4a)
by Mariano
04:26
created
src/ParserGenerator.php 1 patch
Unused Use Statements   -7 removed lines patch added patch discarded remove patch
@@ -18,13 +18,6 @@
 block discarded – undo
18 18
 namespace Mcustiel\SimpleRequest;
19 19
 
20 20
 use Doctrine\Common\Annotations\AnnotationReader;
21
-use Mcustiel\SimpleRequest\Util\ValidatorBuilder;
22
-use Mcustiel\SimpleRequest\Annotation\RequestAnnotation;
23
-use Mcustiel\SimpleRequest\Annotation\ValidatorAnnotation;
24
-use Mcustiel\SimpleRequest\Annotation\FilterAnnotation;
25
-use Mcustiel\SimpleRequest\Util\FilterBuilder;
26
-use Mcustiel\SimpleRequest\Annotation\ParseAs;
27
-use Mcustiel\SimpleRequest\Annotation\AnnotationWithAssociatedClass;
28 21
 use Mcustiel\SimpleRequest\Strategies\AnnotationParserFactory;
29 22
 use Mcustiel\SimpleRequest\Strategies\PropertyParserBuilder;
30 23
 use Mcustiel\SimpleRequest\Strategies\Properties\PropertyParser;
Please login to merge, or discard this patch.
src/RequestBuilder.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 
20 20
 use Mcustiel\SimpleRequest\Exception\InvalidRequestException;
21 21
 use Psr\Cache\CacheItemPoolInterface as PsrCache;
22
-use Symfony\Component\Cache\CacheItem;
23 22
 
24 23
 /**
25 24
  * Builds a request by parsing all the resulting object's annotations and running
Please login to merge, or discard this patch.
src/Validator/Properties.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -92,13 +92,13 @@
 block discarded – undo
92 92
         return $this->validateList($value);
93 93
     }
94 94
 
95
-	private function convertToArray($value)
96
-	{
97
-		if (!is_array($value))  {
98
-		    $value = json_decode(json_encode($value), true);
99
-		}
100
-		return $value;
101
-	}
95
+    private function convertToArray($value)
96
+    {
97
+        if (!is_array($value))  {
98
+            $value = json_decode(json_encode($value), true);
99
+        }
100
+        return $value;
101
+    }
102 102
 
103 103
 
104 104
     /**
Please login to merge, or discard this patch.