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 ( f92a7f...7a9465 )
by Brett
17:02 queued 04:26
created
src/AuditTrailBehavior.php 1 patch
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -237,13 +237,15 @@
 block discarded – undo
237 237
         $oldAttributes = $this->cleanAttributes($this->getOldAttributes());
238 238
 
239 239
         // ensure to handle serialized attributes properly
240
-        foreach($newAttributes as $key => $value)
241
-            if(is_array($newAttributes[$key]))
240
+        foreach($newAttributes as $key => $value) {
241
+                    if(is_array($newAttributes[$key]))
242 242
                 $newAttributes[$key] = Json::encode($newAttributes[$key]);
243
+        }
243 244
 
244
-        foreach($oldAttributes as $key => $value)
245
-            if(is_array($oldAttributes[$key]))
245
+        foreach($oldAttributes as $key => $value) {
246
+                    if(is_array($oldAttributes[$key]))
246 247
                 $oldAttributes[$key] = Json::encode($oldAttributes[$key]);
248
+        }
247 249
 
248 250
         // If no difference then get out of here
249 251
         if (count(array_diff_assoc($newAttributes, $oldAttributes)) <= 0) {
Please login to merge, or discard this patch.