Completed
Push — master ( a6e19c...e6c28d )
by Marcel
03:23
created
src/Server.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 namespace UMA\JsonRpc;
6 6
 
7
-use Psr\Container\ContainerExceptionInterface;
8 7
 use Psr\Container\ContainerInterface;
9 8
 use Psr\Container\NotFoundExceptionInterface;
10 9
 use UMA\JsonRpc\Internal\Guard;
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace UMA\JsonRpc;
6 6
 
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
         foreach ($input->decoded() as $request) {
63 63
             $pseudoInput = Input::fromSafeData($request);
64 64
 
65
-            if(null !== $response = $this->single($pseudoInput)) {
65
+            if (null !== $response = $this->single($pseudoInput)) {
66 66
                 $responses[] = $response;
67 67
             }
68 68
         }
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 
86 86
         try {
87 87
             $procedure = $this->container->get($this->methods[$request->method()]);
88
-        } catch (ContainerExceptionInterface|NotFoundExceptionInterface $e) {
88
+        } catch (ContainerExceptionInterface | NotFoundExceptionInterface $e) {
89 89
             return $this->end(Error::internal($request->id()), $request);
90 90
         }
91 91
 
Please login to merge, or discard this patch.
src/Error.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace UMA\JsonRpc;
6 6
 
Please login to merge, or discard this patch.
src/Internal/Guard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace UMA\JsonRpc\Internal;
6 6
 
Please login to merge, or discard this patch.
src/Internal/Input.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace UMA\JsonRpc\Internal;
6 6
 
7 7
 class Input
8 8
 {
9
-    private const SCHEMA_PATH = __DIR__ . '/../../spec/request.json';
9
+    private const SCHEMA_PATH = __DIR__.'/../../spec/request.json';
10 10
 
11 11
     /**
12 12
      * @var \stdClass
Please login to merge, or discard this patch.
src/Response.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace UMA\JsonRpc;
6 6
 
Please login to merge, or discard this patch.
src/Success.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace UMA\JsonRpc;
6 6
 
Please login to merge, or discard this patch.
src/Procedure.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace UMA\JsonRpc;
6 6
 
Please login to merge, or discard this patch.
src/Request.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace UMA\JsonRpc;
6 6
 
Please login to merge, or discard this patch.