Passed
Push — master ( d2c09e...ca00b7 )
by Baptiste
05:39
created
src/Behapi.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
                                 ->thenUnset()
101 101
                             ->end()
102 102
                             ->validate()
103
-                            ->ifTrue(function ($v) { return !is_dir($v); })
103
+                            ->ifTrue(function($v) { return !is_dir($v); })
104 104
                                 ->thenInvalid('Directory does not exist')
105 105
                             ->end()
106 106
                         ->end()
Please login to merge, or discard this patch.
src/EventListener/DebugHttp.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
         }
119 119
     }
120 120
 
121
-    private function debug(?RequestInterface $request, ?ResponseInterface $response): void
121
+    private function debug(?RequestInterface $request, ?ResponseInterface $response) : void
122 122
     {
123 123
         if (!$request instanceof RequestInterface) {
124 124
             return;
Please login to merge, or discard this patch.
src/Context/Json.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -1,12 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace Behapi\Context;
3 3
 
4
-use stdClass;
5
-use InvalidArgumentException;
6
-
7 4
 use Behapi\Context\ApiTrait;
8 5
 use Behapi\Tools\HttpHistory;
9
-
10 6
 use Webmozart\Assert\Assert;
11 7
 
12 8
 class Json extends AbstractJson
Please login to merge, or discard this patch.