Passed
Push — main ( e55558...6e74a4 )
by Darío
54s queued 12s
created
src/HttpMock.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
             $matches = true;
37 37
 
38 38
             $promise = new Promise(
39
-                function () use (&$promise, $request) {
39
+                function() use (&$promise, $request) {
40 40
                     $promise->resolve($request);
41 41
                 }
42 42
             );
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
                 ->then(BodyExpectation::from($expectation))
55 55
                 ->then(RequestExpectation::from($expectation))
56 56
                 ->otherwise(
57
-                    function ($reason) use (&$matches, &$rejectionReason) {
57
+                    function($reason) use (&$matches, &$rejectionReason) {
58 58
                         $rejectionReason = $reason;
59 59
                         $matches = false;
60 60
                     }
Please login to merge, or discard this patch.
src/Expectations/RequestExpectation.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
             /** @var RequestInterface $request */
15 15
             foreach ($expectation->requestHandlersIterator() as $handler) {
16 16
                 if (!$handler($request)) {
Please login to merge, or discard this patch.
src/Expectations/BodyExpectation.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
             $stream = $request->getBody();
17 17
             $stream->rewind();
Please login to merge, or discard this patch.