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
Branch 0.x (f91465)
by Jakub
08:30
created
examples/create_payment.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -18,10 +18,10 @@
 block discarded – undo
18 18
     $payment->setOrderID($settings['transaction']['orderId']);
19 19
     // Get transaction status.
20 20
     $payment->create(
21
-      $settings['transaction']['mobilePhone'],
22
-      $settings['transaction']['amount'],
23
-      $settings['transaction']['text'],
24
-      $settings['transaction']['callback']
21
+        $settings['transaction']['mobilePhone'],
22
+        $settings['transaction']['amount'],
23
+        $settings['transaction']['text'],
24
+        $settings['transaction']['callback']
25 25
     );
26 26
     // Dump last response.
27 27
     var_dump($payment->getLastResponse());
Please login to merge, or discard this patch.
src/Vipps.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -264,12 +264,12 @@  discard block
 block discarded – undo
264 264
     protected function getHeaders($method)
265 265
     {
266 266
         $headers = [
267
-          'Content-Type' => 'application/json',
268
-          'X-UserId' => $this->merchantID,
269
-          'Authorization' => 'Secret ' . $this->token,
270
-          'X-Request-Id' => (string) $this->requestID,
271
-          'X-TimeStamp' => (string) new DataTime(),
272
-          'X-Source-Address' => getenv('HTTP_CLIENT_IP')
267
+            'Content-Type' => 'application/json',
268
+            'X-UserId' => $this->merchantID,
269
+            'Authorization' => 'Secret ' . $this->token,
270
+            'X-Request-Id' => (string) $this->requestID,
271
+            'X-TimeStamp' => (string) new DataTime(),
272
+            'X-Source-Address' => getenv('HTTP_CLIENT_IP')
273 273
             ?:getenv('HTTP_X_FORWARDED_FOR')
274 274
             ?:getenv('HTTP_X_FORWARDED')
275 275
             ?:getenv('HTTP_FORWARDED_FOR')
@@ -296,9 +296,9 @@  discard block
 block discarded – undo
296 296
     protected function getPayload(array $payload)
297 297
     {
298 298
         $payload = array_merge_recursive($payload, [
299
-          'merchantInfo' => [
299
+            'merchantInfo' => [
300 300
             'merchantSerialNumber' => $this->merchantSerialNumber,
301
-          ],
301
+            ],
302 302
         ]);
303 303
         return json_encode($payload, JSON_UNESCAPED_SLASHES);
304 304
     }
Please login to merge, or discard this patch.