Completed
Push — master ( ba918e...cd1575 )
by Pieter
02:37
created
src/Api/Client/Client.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace PeeHaa\AsyncTwitter\Api\Client;
4 4
 
Please login to merge, or discard this patch.
src/Api/Client/StreamReader.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
                 }
62 62
             }
63 63
 
64
-            $this->rawDataBuffer = (string)\substr($this->rawDataBuffer, $pos + 2);
64
+            $this->rawDataBuffer = (string) \substr($this->rawDataBuffer, $pos + 2);
65 65
         }
66 66
     }
67 67
 
@@ -69,12 +69,12 @@  discard block
 block discarded – undo
69 69
     {
70 70
         static $zlibEncodingMap = [
71 71
             'gzip'    => ZLIB_ENCODING_GZIP,
72
-            'x-gzip'  => ZLIB_ENCODING_GZIP,    // recommended for compatibility by MDN
72
+            'x-gzip'  => ZLIB_ENCODING_GZIP, // recommended for compatibility by MDN
73 73
             'deflate' => ZLIB_ENCODING_DEFLATE,
74 74
         ];
75 75
 
76
-        $status = (int)($info['status'] ?? -1);
77
-        $headers = (array)($info['headers'] ?? []);
76
+        $status = (int) ($info['status'] ?? -1);
77
+        $headers = (array) ($info['headers'] ?? []);
78 78
 
79 79
         if ($status !== 200) {
80 80
             $this->openDeferred->fail(new StreamOpenFailureException("Server responded with HTTP status {$status}"));
Please login to merge, or discard this patch.
src/Api/Client/Exception/InvalidMethod.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace PeeHaa\AsyncTwitter\Api\Client\Exception;
4 4
 
Please login to merge, or discard this patch.
src/Api/Request/Request.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace PeeHaa\AsyncTwitter\Api\Request;
4 4
 
Please login to merge, or discard this patch.
src/Api/Request/Status/Destroy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace PeeHaa\AsyncTwitter\Api\Request\Status;
4 4
 
Please login to merge, or discard this patch.
src/Oauth/Signature/Key.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace PeeHaa\AsyncTwitter\Oauth\Signature;
4 4
 
Please login to merge, or discard this patch.
src/Oauth/Signature/Signature.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace PeeHaa\AsyncTwitter\Oauth\Signature;
4 4
 
Please login to merge, or discard this patch.
src/Request/Parameter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace PeeHaa\AsyncTwitter\Request;
4 4
 
Please login to merge, or discard this patch.
src/Request/Body.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace PeeHaa\AsyncTwitter\Request;
4 4
 
Please login to merge, or discard this patch.