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 ( 7feaaa...546024 )
by sebastian
01:34
created
src/Facade/Responses/GenericSinglePROPFINDCalDAVResponse.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
      */
81 81
     protected function statusMatches($responseStatus, $desiredStatus)
82 82
     {
83
-      return strtoupper($responseStatus) == $desiredStatus;
83
+        return strtoupper($responseStatus) == $desiredStatus;
84 84
     }
85 85
 
86 86
     /**
Please login to merge, or discard this patch.
Braces   +15 added lines, -7 removed lines patch added patch discarded remove patch
@@ -41,8 +41,12 @@  discard block
 block discarded – undo
41 41
     protected function parse()
42 42
     {
43 43
 
44
-        if (!$this->isValid()) throw new NotValidGenericSingleCalDAVResponseException();
45
-        if (!isset($this->content['response']['propstat'])) return $this;
44
+        if (!$this->isValid()) {
45
+            throw new NotValidGenericSingleCalDAVResponseException();
46
+        }
47
+        if (!isset($this->content['response']['propstat'])) {
48
+            return $this;
49
+        }
46 50
         if (isset($this->content['response']['propstat']['prop']) && isset($this->content['response']['propstat']['status'])) {
47 51
             // all props found
48 52
             $status = $this->content['response']['propstat']['status'];
@@ -62,13 +66,17 @@  discard block
 block discarded – undo
62 66
         // multi props ( found or not found)
63 67
         foreach ($this->content['response']['propstat'] as $propstat) {
64 68
 
65
-            if (!isset($propstat['status']) || !isset($propstat['prop'])) continue;
69
+            if (!isset($propstat['status']) || !isset($propstat['prop'])) {
70
+                continue;
71
+            }
66 72
 
67
-            if ($this->statusMatches($propstat['status'], AbstractCalDAVResponse::HttpOKStatus))
68
-                $this->found_props = $propstat['prop'];
73
+            if ($this->statusMatches($propstat['status'], AbstractCalDAVResponse::HttpOKStatus)) {
74
+                            $this->found_props = $propstat['prop'];
75
+            }
69 76
 
70
-            if ($this->statusMatches($propstat['status'], AbstractCalDAVResponse::HttpNotFoundStatus))
71
-                $this->not_found_props = $propstat['prop'];
77
+            if ($this->statusMatches($propstat['status'], AbstractCalDAVResponse::HttpNotFoundStatus)) {
78
+                            $this->not_found_props = $propstat['prop'];
79
+            }
72 80
         }
73 81
         return $this;
74 82
     }
Please login to merge, or discard this patch.