Passed
Push — feature/html-code-handler ( 96610f...0ff14d )
by Arnaud
02:30
created
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.
src/Url/Requirements/Mapping/MappingResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
             ->setAllowedTypes('entity', 'string')
87 87
             ->setAllowedTypes('requirements', 'array')
88 88
             ->setAllowedTypes('options', 'array')
89
-            ->setNormalizer('route', function (Options $options, $value) {
89
+            ->setNormalizer('route', function(Options $options, $value) {
90 90
                 if (null === $value && null === $options->offsetGet('pattern')) {
91 91
                     throw new InvalidOptionsException('A pattern or a route should be provided');
92 92
                 }
Please login to merge, or discard this patch.
src/Bridge/Doctrine/ORM/DataProvider/ORMDataProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
                 'array',
53 53
                 'string',
54 54
             ])
55
-            ->setNormalizer('where', function (Options $options, $value) {
55
+            ->setNormalizer('where', function(Options $options, $value) {
56 56
                 // Allow the configuration "where: article.enabled" instead of
57 57
                 // where:
58 58
                 //    - article.enabled
Please login to merge, or discard this patch.
src/Response/Handler/HtmlHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
                         $valueToFind = $accessor->getValue($entity, $property);
78 78
                         $found = false;
79 79
 
80
-                        $crawler->filter($selector)->each(function (Crawler $node) use ($valueToFind, &$found) {
80
+                        $crawler->filter($selector)->each(function(Crawler $node) use ($valueToFind, &$found) {
81 81
                             if (false !== strpos($node->text(), $valueToFind)) {
82 82
                                 $found = true;
83 83
                             }
Please login to merge, or discard this patch.
src/Url/Provider/SymfonyUrlProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
         $urlInfo = new UrlInfo(
130 130
             $urlParts['scheme'],
131 131
             $urlParts['host'],
132
-            (int) $urlParts['port'],
132
+            (int)$urlParts['port'],
133 133
             $urlParts['path'],
134 134
             $urlParts['query'],
135 135
             $urlParts['fragment'],
Please login to merge, or discard this patch.