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.
Passed
Push — master ( 354c7c...907f89 )
by Jamie
05:42
created
src/Common/JsonSchema/JsonPatch.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
     {
86 86
         $result = [];
87 87
 
88
-        foreach($a1 as $key => $val) {
88
+        foreach ($a1 as $key => $val) {
89 89
             if (!in_array($val, $a2, true)) {
90 90
                 $result[$key] = $val;
91 91
             }
Please login to merge, or discard this patch.
src/Common/Resource/AbstractResource.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
         $resourcesKey = $this->resourcesKey;
179 179
 
180 180
         if (!$resourcesKey) {
181
-            $class =  substr(static::class, strrpos(static::class, '\\') + 1);
181
+            $class = substr(static::class, strrpos(static::class, '\\') + 1);
182 182
             $resourcesKey = strtolower(preg_replace('/([a-z])([A-Z])/', '$1_$2', $class)) . 's';
183 183
         }
184 184
 
@@ -192,14 +192,14 @@  discard block
 block discarded – undo
192 192
     {
193 193
         $operation = $this->getOperation($def);
194 194
 
195
-        $requestFn = function ($marker) use ($operation, $userVals) {
195
+        $requestFn = function($marker) use ($operation, $userVals) {
196 196
             if ($marker) {
197 197
                 $userVals['marker'] = $marker;
198 198
             }
199 199
             return $this->sendRequest($operation, $userVals);
200 200
         };
201 201
 
202
-        $resourceFn = function (array $data) {
202
+        $resourceFn = function(array $data) {
203 203
             $resource = $this->newInstance();
204 204
             $resource->populateFromArray($data);
205 205
             return $resource;
Please login to merge, or discard this patch.