Passed
Push — main ( 4a5946...2af8ef )
by Darío
04:07 queued 01:36
created
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/Expectations/PathMatchExpectation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 {
11 11
     public static function from(Expectation $expectation): callable
12 12
     {
13
-        return function ($request) use ($expectation) {
13
+        return function($request) use ($expectation) {
14 14
             if ($regex = $expectation->getPathRegex()) {
15 15
                 /** @var RequestInterface $request */
16 16
                 if (!preg_match($regex, $request->getUri()->getPath(), $matches)) {
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.
src/Expectations/HeaderIsNotExpectation.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.