Test Failed
Pull Request — main (#32)
by Darío
04:55 queued 02:32
created
src/Expectations/PathIsExpectation.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
             if ($request->getUri()->getPath() !== $expectation->getPath()) {
17 17
                 return new RejectedPromise('path does not match expectation');
Please login to merge, or discard this patch.
src/Expectations/MethodIsExpectation.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
             if ($request->getMethod() !== $expectation->getMethod()) {
17 17
                 return new RejectedPromise('method does not match expectation');
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
             /** @var RequestInterface $request */
15 15
             if (!preg_match($expectation->getPathRegex(), $request->getUri()->getPath(), $matches)) {
16 16
                 return new RejectedPromise('path does not match expectation');
Please login to merge, or discard this patch.