Passed
Push — main ( 3ba23a...063f15 )
by Darío
43s queued 12s
created
src/Expectations/ParamIsExpectation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 {
12 12
     public static function from(Expectation $expectation): callable
13 13
     {
14
-        return function ($request) use ($expectation) {
14
+        return function($request) use ($expectation) {
15 15
             /** @var RequestInterface $request */
16 16
             parse_str($request->getUri()->getQuery(), $params);
17 17
 
Please login to merge, or discard this patch.
src/Expectations/HeaderIsExpectation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 {
13 13
     public static function from(Expectation $expectation): callable
14 14
     {
15
-        return function ($request) use ($expectation) {
15
+        return function($request) use ($expectation) {
16 16
             /** @var RequestInterface $request */
17 17
             $headers = GuzzleHeaderParser::parse($request->getHeaders());
18 18
 
Please login to merge, or discard this patch.
src/Expectations/HeaderExistsExpectation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 {
12 12
     public static function from(Expectation $expectation): callable
13 13
     {
14
-        return function ($request) use ($expectation) {
14
+        return function($request) use ($expectation) {
15 15
             /** @var RequestInterface $request */
16 16
 
17 17
             foreach ($expectation->emptyHeadersIterator() as $param => $value) {
Please login to merge, or discard this patch.
src/Expectations/HeaderNotExistsExpectation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 {
12 12
     public static function from(Expectation $expectation): callable
13 13
     {
14
-        return function ($request) use ($expectation) {
14
+        return function($request) use ($expectation) {
15 15
             /** @var RequestInterface $request */
16 16
 
17 17
             foreach ($expectation->missingHeadersIterator() as $header) {
Please login to merge, or discard this patch.
src/Iterators/EmptyArrayValuesIterator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     {
15 15
         $collection = array_filter(
16 16
             $collection,
17
-            function ($value) {
17
+            function($value) {
18 18
                 return empty($value);
19 19
             }
20 20
         );
Please login to merge, or discard this patch.
src/Iterators/NotEmptyArrayValuesIterator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     {
15 15
         $collection = array_filter(
16 16
             $collection,
17
-            function ($value) {
17
+            function($value) {
18 18
                 return !empty($value);
19 19
             }
20 20
         );
Please login to merge, or discard this patch.
src/Expectations/ParamNotExistsExpectation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 {
12 12
     public static function from(Expectation $expectation): callable
13 13
     {
14
-        return function ($request) use ($expectation) {
14
+        return function($request) use ($expectation) {
15 15
             /** @var RequestInterface $request */
16 16
             parse_str($request->getUri()->getQuery(), $params);
17 17
 
Please login to merge, or discard this patch.
src/Expectations/ParamExistsExpectation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 {
12 12
     public static function from(Expectation $expectation): callable
13 13
     {
14
-        return function ($request) use ($expectation) {
14
+        return function($request) use ($expectation) {
15 15
             /** @var RequestInterface $request */
16 16
             parse_str($request->getUri()->getQuery(), $params);
17 17
 
Please login to merge, or discard this patch.
src/Expectation.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
     {
97 97
         array_walk(
98 98
             $params,
99
-            function ($value, $key) {
99
+            function($value, $key) {
100 100
                 $this->queryParamIs($key, $value);
101 101
             }
102 102
         );
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
     {
109 109
         array_walk(
110 110
             $params,
111
-            function ($value) {
111
+            function($value) {
112 112
                 $this->queryParamExists($value);
113 113
             }
114 114
         );
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
     {
121 121
         array_walk(
122 122
             $params,
123
-            function ($value) {
123
+            function($value) {
124 124
                 $this->queryParamNotExist($value);
125 125
             }
126 126
         );
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
     {
154 154
         array_walk(
155 155
             $headers,
156
-            function ($value, $key) {
156
+            function($value, $key) {
157 157
                 $this->headerIs($key, $value);
158 158
             }
159 159
         );
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
     {
166 166
         array_walk(
167 167
             $headers,
168
-            function ($value) {
168
+            function($value) {
169 169
                 $this->headerExists($value);
170 170
             }
171 171
         );
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
     {
178 178
         array_walk(
179 179
             $headers,
180
-            function ($value) {
180
+            function($value) {
181 181
                 $this->headerNotExist($value);
182 182
             }
183 183
         );
Please login to merge, or discard this patch.