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/RequestFactory.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -55,28 +55,28 @@
 block discarded – undo
55 55
             break;
56 56
             case HttpMethods::Put:
57 57
             {
58
-               $etag = $params[0];
59
-               if(empty($etag)){
60
-                   return [
61
-                       Headers::ContentType  => ContentTypes::Calendar,
62
-                       Headers::IfNotMatch   => '*',
63
-                   ];
64
-               }
65
-               return [
66
-                   Headers::ContentType  => ContentTypes::Calendar,
67
-                   Headers::IfMatch      => $etag
68
-               ];
58
+                $etag = $params[0];
59
+                if(empty($etag)){
60
+                    return [
61
+                        Headers::ContentType  => ContentTypes::Calendar,
62
+                        Headers::IfNotMatch   => '*',
63
+                    ];
64
+                }
65
+                return [
66
+                    Headers::ContentType  => ContentTypes::Calendar,
67
+                    Headers::IfMatch      => $etag
68
+                ];
69 69
             }
70 70
             break;
71 71
         }
72 72
         return [];
73 73
     }
74 74
     /**
75
-    * @param string $url
76
-    * @param string $body
77
-    * @param int $depth
78
-    * @return Request
79
-    */
75
+     * @param string $url
76
+     * @param string $body
77
+     * @param int $depth
78
+     * @return Request
79
+     */
80 80
     static public function createPropFindRequest($url , $body, $depth = 1){
81 81
         return new Request
82 82
         (
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.