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 (#90)
by
unknown
04:35
created
src/Client.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -374,8 +374,7 @@
 block discarded – undo
374 374
                 }
375 375
             }
376 376
             return $this->guzzle->post($this->endpoint, ['form_params' => $payload]);
377
-        }
378
-        else {
377
+        } else {
379 378
             $encoded = json_encode($payload, JSON_UNESCAPED_UNICODE);
380 379
 
381 380
             if ($encoded === false) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -411,7 +411,7 @@
 block discarded – undo
411 411
         $payload['attachments'] = $this->getAttachmentsAsArrays($message);
412 412
 
413 413
         $payload = array_filter($payload, function($item) {
414
-            return !empty($item);
414
+            return ! empty($item);
415 415
         });
416 416
 
417 417
         return $payload;
Please login to merge, or discard this patch.
src/Attachment.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -252,7 +252,7 @@
 block discarded – undo
252 252
     /**
253 253
      * Set the callback_id.
254 254
      *
255
-     * @param string $fallback
255
+     * @param string $callback_id
256 256
      * @return $this
257 257
      */
258 258
     public function setCallbackId($callback_id) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -735,7 +735,7 @@
 block discarded – undo
735 735
         $data['actions'] = $this->getActionsAsArrays();
736 736
 
737 737
         $data = array_filter($data, function($item) {
738
-            return !empty($item);
738
+            return ! empty($item);
739 739
         });
740 740
 
741 741
         return $data;
Please login to merge, or discard this patch.
src/ActionConfirmation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
         ];
149 149
 
150 150
         $ret = array_filter($ret, function($item) {
151
-            return !empty($item);
151
+            return ! empty($item);
152 152
         });
153 153
 
154 154
         return $ret;
Please login to merge, or discard this patch.
src/AttachmentAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -230,7 +230,7 @@
 block discarded – undo
230 230
         }
231 231
 
232 232
         $ret = array_filter($ret, function($item) {
233
-            return !empty($item);
233
+            return ! empty($item);
234 234
         });
235 235
 
236 236
         return $ret;
Please login to merge, or discard this patch.
src/AttachmentField.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
148 148
         ];
149 149
 
150 150
         $ret = array_filter($ret, function($item) {
151
-            return !empty($item);
151
+            return ! empty($item);
152 152
         });
153 153
 
154 154
         return $ret;
Please login to merge, or discard this patch.