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.
Test Failed
Push — master ( 30b948...e092ce )
by Carlos
01:03
created
src/Gateways/QcloudGateway.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -113,16 +113,16 @@  discard block
 block discarded – undo
113 113
 
114 114
         $canonicalRequest = 'POST'."\n".
115 115
             '/'."\n".
116
-            '' ."\n".
116
+            ''."\n".
117 117
             'content-type:application/json; charset=utf-8'."\n".
118
-            'host:' . self::ENDPOINT_HOST."\n"."\n".
118
+            'host:'.self::ENDPOINT_HOST."\n"."\n".
119 119
             'content-type;host'."\n".
120 120
             hash("SHA256", json_encode($params));
121 121
 
122 122
         $stringToSign =
123 123
             'TC3-HMAC-SHA256'."\n".
124 124
             $timestamp."\n".
125
-            $date . '/'. self::ENDPOINT_SERVICE .'/tc3_request'."\n".
125
+            $date.'/'.self::ENDPOINT_SERVICE.'/tc3_request'."\n".
126 126
             hash("SHA256", $canonicalRequest);
127 127
 
128 128
         $secretDate = hash_hmac("SHA256", $date, "TC3".$secretKey, true);
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
         $signature = hash_hmac("SHA256", $stringToSign, $secretSigning);
132 132
 
133 133
         return 'TC3-HMAC-SHA256'
134
-            ." Credential=". $secretId ."/". $date . '/'. self::ENDPOINT_SERVICE .'/tc3_request'
134
+            ." Credential=".$secretId."/".$date.'/'.self::ENDPOINT_SERVICE.'/tc3_request'
135 135
             .", SignedHeaders=content-type;host, Signature=".$signature;
136 136
     }
137 137
 }
Please login to merge, or discard this patch.