Completed
Push — changes/rename-di-extension ( ae8fc6...debf55 )
by Arnaud
08:54 queued 03:21
created
Category
src/Url/Requirements/Mapping/MappingResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
             ->setAllowedTypes('provider', 'string')
65 65
             ->setAllowedTypes('entity', 'string')
66 66
             ->setAllowedTypes('requirements', 'array')
67
-            ->setNormalizer('route', function (Options $options, $value) {
67
+            ->setNormalizer('route', function(Options $options, $value) {
68 68
                 if (null === $value && null === $options->offsetGet('pattern')) {
69 69
                     throw new InvalidOptionsException('A pattern or a route should be provided');
70 70
                 }
Please login to merge, or discard this patch.
src/Response/Handler/ResponseCodeHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
         }
59 59
         $responseCode = $client->getResponse()->getStatus();
60 60
 
61
-        if ((string) $expectedResponseCode !== (string) $responseCode) {
61
+        if ((string)$expectedResponseCode !== (string)$responseCode) {
62 62
             throw new Exception('Excepted code '.$expectedResponseCode.', got '.$responseCode.' for route '.$routeName);
63 63
         }
64 64
     }
Please login to merge, or discard this patch.