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
Push — master ( 67ae9f...7fe2ab )
by Brad
09:35 queued 07:27
created
src/Minifiers/Base.php 1 patch
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,10 @@
 block discarded – undo
73 73
             '.min.'.$this->file->getExtension()
74 74
         );
75 75
 
76
-        if (!file_exists($min_path)) return false;
76
+        if (!file_exists($min_path))
77
+        {
78
+            return false;
79
+        }
77 80
 
78 81
         return file_get_contents($min_path);
79 82
     }
Please login to merge, or discard this patch.
src/Tasks/BuildAsset.php 1 patch
Braces   +16 added lines, -4 removed lines patch added patch discarded remove patch
@@ -124,11 +124,20 @@  discard block
 block discarded – undo
124 124
         }
125 125
         else
126 126
         {
127
-            if (!is_array($value)) $value = [$value];
127
+            if (!is_array($value))
128
+            {
129
+                $value = [$value];
130
+            }
128 131
 
129
-            if (count($value) === 0) throw new \UnexpectedValueException;
132
+            if (count($value) === 0)
133
+            {
134
+                throw new \UnexpectedValueException;
135
+            }
130 136
 
131
-            if (!is_string($value[0])) throw new \UnexpectedValueException;
137
+            if (!is_string($value[0]))
138
+            {
139
+                throw new \UnexpectedValueException;
140
+            }
132 141
 
133 142
             $this->source = $value;
134 143
         }
@@ -286,7 +295,10 @@  discard block
 block discarded – undo
286 295
      */
287 296
     protected function getSourceType(SplFileInfo $file): string
288 297
     {
289
-        if ($file->isDir()) return 'folder';
298
+        if ($file->isDir())
299
+        {
300
+            return 'folder';
301
+        }
290 302
         return $file->getExtension();
291 303
     }
292 304
 
Please login to merge, or discard this patch.