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
Pull Request — master (#148)
by milkmeowo
05:24
created
src/Gateways/RongcloudGateway.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
 
35 35
     const ENDPOINT_FORMAT = 'json';
36 36
 
37
-    const ENDPOINT_REGION = '86';  // 中国区,目前只支持此国别
37
+    const ENDPOINT_REGION = '86'; // 中国区,目前只支持此国别
38 38
 
39 39
     const SUCCESS_CODE = 200;
40 40
 
Please login to merge, or discard this patch.
src/Gateways/HuaweiGateway.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
     protected function getEndpoint(Config $config)
91 91
     {
92 92
         $endpoint = rtrim($config->get('endpoint', self::ENDPOINT_HOST), '/');
93
-        return $endpoint . self::ENDPOINT_URI;
93
+        return $endpoint.self::ENDPOINT_URI;
94 94
     }
95 95
 
96 96
     /**
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
     {
121 121
         $now = date('Y-m-d\TH:i:s\Z');
122 122
         $nonce = uniqid();
123
-        $passwordDigest = base64_encode(hash('sha256', ($nonce . $now . $appSecret)));
123
+        $passwordDigest = base64_encode(hash('sha256', ($nonce.$now.$appSecret)));
124 124
         return sprintf("UsernameToken Username=\"%s\",PasswordDigest=\"%s\",Nonce=\"%s\",Created=\"%s\"",
125 125
             $appKey, $passwordDigest, $nonce, $now);
126 126
     }
Please login to merge, or discard this patch.