GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( c95c78...dcbe65 )
by Cees-Jan
31s queued 14s
created
tests/RequestSigning/RequestSignerTest.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 {
27 27
     public function testImmutability(): void
28 28
     {
29
-        $requestSigner                = new RequestSigner(
29
+        $requestSigner = new RequestSigner(
30 30
             new ConsumerKey('consumer_key'),
31 31
             new ConsumerSecret('consumer_secret')
32 32
         );
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
             'oauth_token' => false,
53 53
             'oauth_signature' => false,
54 54
         ];
55
-        $captureValues       = [
55
+        $captureValues = [
56 56
             'oauth_consumer_key' => '',
57 57
             'oauth_nonce' => '',
58 58
             'oauth_signature_method' => '',
@@ -61,13 +61,13 @@  discard block
 block discarded – undo
61 61
             'oauth_token' => '',
62 62
             'oauth_signature' => '',
63 63
         ];
64
-        $request             = new Request(
64
+        $request = new Request(
65 65
             'POST',
66 66
             'httpx://example.com/',
67 67
             ['Content-Type' => 'application/x-www-form-urlencoded'],
68 68
             'foo=bar&bar=baz'
69 69
         );
70
-        $requestSigner       = (new RequestSigner(
70
+        $requestSigner = (new RequestSigner(
71 71
             new ConsumerKey('consumer_key'),
72 72
             new ConsumerSecret('consumer_secret'),
73 73
             new HmacSha512Signature(
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
             'oauth_signature' => false,
133 133
             'extra_test_to_make_sure_this_is_included' => true,
134 134
         ];
135
-        $captureValues       = [
135
+        $captureValues = [
136 136
             'oauth_consumer_key' => '',
137 137
             'oauth_nonce' => '',
138 138
             'oauth_signature_method' => '',
@@ -142,13 +142,13 @@  discard block
 block discarded – undo
142 142
             'oauth_signature' => '',
143 143
             'extra_test_to_make_sure_this_is_included' => '',
144 144
         ];
145
-        $request             = new Request(
145
+        $request = new Request(
146 146
             'POST',
147 147
             'httpx://example.com/',
148 148
             [],
149 149
             'foo=bar&bar=baz'
150 150
         );
151
-        $requestSigner       = new RequestSigner(
151
+        $requestSigner = new RequestSigner(
152 152
             new ConsumerKey('consumer_key'),
153 153
             new ConsumerSecret('consumer_secret')
154 154
         );
Please login to merge, or discard this patch.
src/RequestSigning/RequestSigner.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
     {
144 144
         $header = 'OAuth ';
145 145
         foreach ($parameters as $key => $value) {
146
-            $header .= rawurlencode($key) . '="' . rawurlencode($value) . '",';
146
+            $header .= rawurlencode($key).'="'.rawurlencode($value).'",';
147 147
         }
148 148
 
149 149
         return rtrim($header, ',');
Please login to merge, or discard this patch.
src/Signature/HmacSignature.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,8 +62,8 @@
 block discarded – undo
62 62
 
63 63
         ksort($data);
64 64
 
65
-        array_walk($data, static function (string &$value, string $key): void {
66
-            $value = $key . '=' . $value;
65
+        array_walk($data, static function(string &$value, string $key): void {
66
+            $value = $key.'='.$value;
67 67
         });
68 68
 
69 69
         $baseString[] = rawurlencode(implode('&', $data));
Please login to merge, or discard this patch.
src/Signature/Signature.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
 
37 37
     final protected function getKey(): string
38 38
     {
39
-        $key = rawurlencode((string) $this->consumerSecret) . '&';
39
+        $key = rawurlencode((string) $this->consumerSecret).'&';
40 40
 
41 41
         if ($this->tokenSecret instanceof TokenSecret) {
42 42
             $key .= rawurlencode((string) $this->tokenSecret);
Please login to merge, or discard this patch.