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