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
Push — master ( 19dc22...b39ad3 )
by Dirk
04:26 queued 02:09
created
src/Pinterest/Transport/Request.php 1 patch
Braces   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -77,8 +77,7 @@  discard block
 block discarded – undo
77 77
     {
78 78
         if(!empty($parameters)) {
79 79
             $path = sprintf("%s/?%s", $endpoint, http_build_query($parameters));
80
-        }
81
-        else {
80
+        } else {
82 81
             $path = $endpoint;
83 82
         }
84 83
 
@@ -180,8 +179,9 @@  discard block
 block discarded – undo
180 179
                     CURLOPT_POSTFIELDS      => $parameters
181 180
                 ) );
182 181
 
183
-                if(!class_exists("\CURLFile") && defined('CURLOPT_SAFE_UPLOAD'))
184
-                    $ch->setOption( CURLOPT_SAFE_UPLOAD, false );
182
+                if(!class_exists("\CURLFile") && defined('CURLOPT_SAFE_UPLOAD')) {
183
+                                    $ch->setOption( CURLOPT_SAFE_UPLOAD, false );
184
+                }
185 185
 
186 186
                 break;
187 187
             case 'DELETE':
Please login to merge, or discard this patch.