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 Setup Failed
Push — master ( bd3711...8a9d45 )
by Carlos
54s
created
src/Gateways/QcloudGateway.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
 
58 58
         unset($data['sign_name']);
59 59
 
60
-        $phone = ($to->getIDDCode() ?: "+86"). $to->getNumber();
60
+        $phone = ($to->getIDDCode() ?: "+86").$to->getNumber();
61 61
         $params = [
62 62
             'PhoneNumberSet' => [
63 63
                 $phone
@@ -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.
src/Gateways/YunpianGateway.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
             $templateData = $message->getData($this);
61 61
             $templateData = isset($templateData) ? $templateData : [];
62 62
             foreach ($templateData as $key => $value) {
63
-                $data[] = urlencode('#'.$key.'#') . '=' . urlencode($value);
63
+                $data[] = urlencode('#'.$key.'#').'='.urlencode($value);
64 64
             }
65 65
 
66 66
             $option['form_params'] = array_merge($option['form_params'], [
Please login to merge, or discard this patch.