Completed
Push — master ( bf8e1f...8df9ec )
by Anton
02:46 queued 01:10
created
src/Worker.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
         }
67 67
 
68 68
         if ($flags & Relay::PAYLOAD_ERROR) {
69
-            return new \Error((string) $body);
69
+            return new \Error((string)$body);
70 70
         }
71 71
 
72 72
         return $body;
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
             $this->relay->send($header, Relay::PAYLOAD_CONTROL | Relay::PAYLOAD_RAW);
90 90
         }
91 91
 
92
-        $this->relay->send((string) $payload, Relay::PAYLOAD_RAW);
92
+        $this->relay->send((string)$payload, Relay::PAYLOAD_RAW);
93 93
     }
94 94
 
95 95
     /**
Please login to merge, or discard this patch.
src/Diactoros/StreamFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     {
25 25
         $resource = fopen('php://temp', 'rb+');
26 26
 
27
-        if (! \is_resource($resource)) {
27
+        if (!\is_resource($resource)) {
28 28
             throw new RuntimeException('Cannot create stream');
29 29
         }
30 30
 
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     {
41 41
         $resource = fopen($file, $mode);
42 42
 
43
-        if (! \is_resource($resource)) {
43
+        if (!\is_resource($resource)) {
44 44
             throw new RuntimeException('Cannot create stream');
45 45
         }
46 46
 
Please login to merge, or discard this patch.
src/Diactoros/UploadedFileFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
         string $clientMediaType = null
28 28
     ): UploadedFileInterface {
29 29
         if ($size === null) {
30
-            $size = (int) $stream->getSize();
30
+            $size = (int)$stream->getSize();
31 31
         }
32 32
 
33 33
         /** @var resource $stream */
Please login to merge, or discard this patch.
src/PSR7Client.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     private $originalServer = [];
38 38
 
39 39
     /** @var string[] Valid values for HTTP protocol version */
40
-    private static $allowedVersions = ['1.0', '1.1', '2',];
40
+    private static $allowedVersions = ['1.0', '1.1', '2', ];
41 41
 
42 42
     /**
43 43
      * @param Worker                             $worker
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
             if (\in_array($key, ['CONTENT_TYPE', 'CONTENT_LENGTH'])) {
149 149
                 $server[$key] = implode(', ', $value);
150 150
             } else {
151
-                $server['HTTP_' . $key] = implode(', ', $value);
151
+                $server['HTTP_'.$key] = implode(', ', $value);
152 152
             }
153 153
         }
154 154
 
Please login to merge, or discard this patch.
src/HttpClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
 
70 70
         $this->getWorker()->send(
71 71
             $body,
72
-            (string) json_encode(['status' => $status, 'headers' => $headers])
72
+            (string)json_encode(['status' => $status, 'headers' => $headers])
73 73
         );
74 74
     }
75 75
 }
Please login to merge, or discard this patch.