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 ( 173046...a8b00f )
by sebastian
01:42
created
src/Facade/Requests/CalendarCreateRequest.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,8 +69,9 @@
 block discarded – undo
69 69
             )
70 70
         ];
71 71
 
72
-        if(!empty($this->vo->getDescription()))
73
-            $props['{urn:ietf:params:xml:ns:caldav}calendar-description'] = $this->vo->getDescription();
72
+        if(!empty($this->vo->getDescription())) {
73
+                    $props['{urn:ietf:params:xml:ns:caldav}calendar-description'] = $this->vo->getDescription();
74
+        }
74 75
 
75 76
         return $service->write('{urn:ietf:params:xml:ns:caldav}mkcalendar',
76 77
             [
Please login to merge, or discard this patch.
src/Facade/Utils/ICalTimeZoneBuilder.php 1 patch
Braces   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -47,10 +47,11 @@
 block discarded – undo
47 47
         $dt     = new DateTime($trans['time'], new DateTimeZone('UTC'));
48 48
         $hours  = abs($former_offset);
49 49
         // START TIME IS ON UTC and should be converted to local using former offset
50
-        if($former_offset >= 0 )
51
-            $dt->add(new DateInterval("PT{$hours}H"));
52
-        else
53
-            $dt->sub(new DateInterval("PT{$hours}H"));
50
+        if($former_offset >= 0 ) {
51
+                    $dt->add(new DateInterval("PT{$hours}H"));
52
+        } else {
53
+                    $dt->sub(new DateInterval("PT{$hours}H"));
54
+        }
54 55
 
55 56
         return $dt;
56 57
     }
Please login to merge, or discard this patch.