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
Pull Request — master (#14)
by t
02:14
created
src/ihelpers/Console.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
      */
151 151
     public static function stdin()
152 152
     {
153
-        return rtrim((string) fgets(\STDIN), PHP_EOL);
153
+        return rtrim((string)fgets(\STDIN), PHP_EOL);
154 154
     }
155 155
 
156 156
     /**
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
 
182 182
         $input = self::stdin();
183 183
         if ('' === $input) {
184
-            return (string) $defaultValue;
184
+            return (string)$defaultValue;
185 185
         }
186 186
         return $input;
187 187
     }
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
      */
211 211
     public static function outputList($array)
212 212
     {
213
-        foreach($array as $string){
213
+        foreach ($array as $string) {
214 214
             self::output($string);
215 215
         }
216 216
     }
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
      */
242 242
     public static function moveCursorUp($rows = 1)
243 243
     {
244
-        echo '\033[' . (int) $rows . 'A';
244
+        echo '\033[' . (int)$rows . 'A';
245 245
     }
246 246
 
247 247
     /**
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
      */
256 256
     public static function moveCursorDown($rows = 1)
257 257
     {
258
-        echo '\033[' . (int) $rows . 'B';
258
+        echo '\033[' . (int)$rows . 'B';
259 259
     }
260 260
 
261 261
     /**
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
      */
270 270
     public static function moveCursorForward($steps = 1)
271 271
     {
272
-        echo '\033[' . (int) $steps . 'C';
272
+        echo '\033[' . (int)$steps . 'C';
273 273
     }
274 274
 
275 275
     /**
@@ -283,7 +283,7 @@  discard block
 block discarded – undo
283 283
      */
284 284
     public static function moveCursorBackward($steps = 1)
285 285
     {
286
-        echo '\033[' . (int) $steps . 'D';
286
+        echo '\033[' . (int)$steps . 'D';
287 287
     }
288 288
 
289 289
     /**
@@ -295,7 +295,7 @@  discard block
 block discarded – undo
295 295
      */
296 296
     public static function moveCursorNextLine($lines = 1)
297 297
     {
298
-        echo '\033[' . (int) $lines . 'E';
298
+        echo '\033[' . (int)$lines . 'E';
299 299
     }
300 300
 
301 301
     /**
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
      */
308 308
     public static function moveCursorPrevLine($lines = 1)
309 309
     {
310
-        echo '\033[' . (int) $lines . 'F';
310
+        echo '\033[' . (int)$lines . 'F';
311 311
     }
312 312
 
313 313
     /**
@@ -321,9 +321,9 @@  discard block
 block discarded – undo
321 321
     public static function moveCursorTo($column, $row = null)
322 322
     {
323 323
         if ($row === null) {
324
-            echo '\033[' . (int) $column . 'G';
324
+            echo '\033[' . (int)$column . 'G';
325 325
         } else {
326
-            echo '\033[' . (int) $row . ';' . (int) $column . 'H';
326
+            echo '\033[' . (int)$row . ';' . (int)$column . 'H';
327 327
         }
328 328
     }
329 329
 
@@ -338,7 +338,7 @@  discard block
 block discarded – undo
338 338
      */
339 339
     public static function scrollUp($lines = 1)
340 340
     {
341
-        echo '\033[' . (int) $lines . 'S';
341
+        echo '\033[' . (int)$lines . 'S';
342 342
     }
343 343
 
344 344
     /**
@@ -352,7 +352,7 @@  discard block
 block discarded – undo
352 352
      */
353 353
     public static function scrollDown($lines = 1)
354 354
     {
355
-        echo '\033[' . (int) $lines . 'T';
355
+        echo '\033[' . (int)$lines . 'T';
356 356
     }
357 357
 
358 358
     /**
Please login to merge, or discard this patch.