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 ( 416e54...1f9fcc )
by sebastian
01:30
created
src/Facade/Responses/CalendarSyncInfoResponse.php 2 patches
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -22,24 +22,24 @@  discard block
 block discarded – undo
22 22
     /**
23 23
      * @return string|null
24 24
      */
25
-    public function getSyncToken(){
26
-        return isset($this->content['sync-token'])? $this->content['sync-token'] : null;
25
+    public function getSyncToken() {
26
+        return isset($this->content['sync-token']) ? $this->content['sync-token'] : null;
27 27
     }
28 28
 
29 29
     /**
30 30
      * @return bool
31 31
      */
32
-    public function hasAvailableChanges(){
32
+    public function hasAvailableChanges() {
33 33
         return count($this->responses) > 0;
34 34
     }
35 35
 
36 36
     /**
37 37
      * @return ETagEntityResponse[]
38 38
      */
39
-    public function getUpdates(){
39
+    public function getUpdates() {
40 40
         $res = [];
41
-        foreach ($this->responses as $entity){
42
-            if($entity instanceof ETagEntityResponse && $entity->getStatus() != HttpResponse::HttpOKStatus) continue;
41
+        foreach ($this->responses as $entity) {
42
+            if ($entity instanceof ETagEntityResponse && $entity->getStatus() != HttpResponse::HttpOKStatus) continue;
43 43
                 $res[] = $entity;
44 44
         }
45 45
         return $res;
@@ -48,10 +48,10 @@  discard block
 block discarded – undo
48 48
     /**
49 49
      * @return ETagEntityResponse[]
50 50
      */
51
-    public function getDeletes(){
51
+    public function getDeletes() {
52 52
         $res = [];
53
-        foreach ($this->responses as $entity){
54
-            if($entity instanceof ETagEntityResponse && $entity->getStatus() != HttpResponse::HttpNotFoundStatus) continue;
53
+        foreach ($this->responses as $entity) {
54
+            if ($entity instanceof ETagEntityResponse && $entity->getStatus() != HttpResponse::HttpNotFoundStatus) continue;
55 55
                 $res[] = $entity;
56 56
         }
57 57
         return $res;
Please login to merge, or discard this patch.
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,9 @@  discard block
 block discarded – undo
39 39
     public function getUpdates(){
40 40
         $res = [];
41 41
         foreach ($this->responses as $entity){
42
-            if($entity instanceof ETagEntityResponse && $entity->getStatus() != HttpResponse::HttpOKStatus) continue;
42
+            if($entity instanceof ETagEntityResponse && $entity->getStatus() != HttpResponse::HttpOKStatus) {
43
+                continue;
44
+            }
43 45
                 $res[] = $entity;
44 46
         }
45 47
         return $res;
@@ -51,7 +53,9 @@  discard block
 block discarded – undo
51 53
     public function getDeletes(){
52 54
         $res = [];
53 55
         foreach ($this->responses as $entity){
54
-            if($entity instanceof ETagEntityResponse && $entity->getStatus() != HttpResponse::HttpNotFoundStatus) continue;
56
+            if($entity instanceof ETagEntityResponse && $entity->getStatus() != HttpResponse::HttpNotFoundStatus) {
57
+                continue;
58
+            }
55 59
                 $res[] = $entity;
56 60
         }
57 61
         return $res;
Please login to merge, or discard this patch.