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
Branch dev (5c3307)
by t
02:57
created
src/icomponents/file/FtpFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -201,7 +201,7 @@
 block discarded – undo
201 201
                 @ftp_chmod($this->_conn, $mode, $subFile);
202 202
             }
203 203
         }
204
-        return (boolean) @ftp_chmod($this->_conn, $mode, $file);
204
+        return (boolean)@ftp_chmod($this->_conn, $mode, $file);
205 205
     }
206 206
 
207 207
     /**
Please login to merge, or discard this patch.
src/ihelpers/Request.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -497,7 +497,7 @@  discard block
 block discarded – undo
497 497
      */
498 498
     public function getServerName()
499 499
     {
500
-        return (string) I::get($_SERVER, 'SERVER_NAME');
500
+        return (string)I::get($_SERVER, 'SERVER_NAME');
501 501
     }
502 502
 
503 503
     /**
@@ -507,7 +507,7 @@  discard block
 block discarded – undo
507 507
      */
508 508
     public function getServerPort()
509 509
     {
510
-        return (int) I::get($_SERVER, 'SERVER_PORT');
510
+        return (int)I::get($_SERVER, 'SERVER_PORT');
511 511
     }
512 512
 
513 513
     /**
@@ -562,7 +562,7 @@  discard block
 block discarded – undo
562 562
      */
563 563
     public function getRemoteIP()
564 564
     {
565
-        return (string) I::get($_SERVER, 'REMOTE_ADDR');
565
+        return (string)I::get($_SERVER, 'REMOTE_ADDR');
566 566
     }
567 567
 
568 568
     /**
@@ -572,7 +572,7 @@  discard block
 block discarded – undo
572 572
      */
573 573
     public function getRemoteHost()
574 574
     {
575
-        return (string) I::get($_SERVER, 'REMOTE_HOST');
575
+        return (string)I::get($_SERVER, 'REMOTE_HOST');
576 576
     }
577 577
 
578 578
     /**
Please login to merge, or discard this patch.
src/icomponents/cache/FileCache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
     public function __construct($pathRoot = null)
58 58
     {
59 59
         if (null === $pathRoot) {
60
-            $this->_pathRoot = (string) I::getAlias('@icy2003/php_runtime/cache');
60
+            $this->_pathRoot = (string)I::getAlias('@icy2003/php_runtime/cache');
61 61
         } else {
62 62
             $this->_pathRoot = $pathRoot;
63 63
         }
Please login to merge, or discard this patch.
src/ihelpers/Arrays.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
     public static function combine($keys, $values)
155 155
     {
156 156
         if (count($keys) == count($values)) {
157
-            return (array) array_combine($keys, $values);
157
+            return (array)array_combine($keys, $values);
158 158
         }
159 159
         $array = [];
160 160
         foreach ($keys as $index => $key) {
@@ -471,7 +471,7 @@  discard block
 block discarded – undo
471 471
             } else {
472 472
                 $function = $callback;
473 473
                 if (false === is_callable($callback)) {
474
-                    $function = function ($row) use ($callback, $isStrict) {
474
+                    $function = function($row) use ($callback, $isStrict) {
475 475
                         return true === $isStrict ? $row === $callback : $row == $callback;
476 476
                     };
477 477
                 }
Please login to merge, or discard this patch.
src/ihelpers/Numbers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
      */
77 77
     public static function toBytes($size)
78 78
     {
79
-        $callback = function ($matches) {
79
+        $callback = function($matches) {
80 80
             $sizeMap = [
81 81
                 '' => 0,
82 82
                 'b' => 0, // 为了简化正则
Please login to merge, or discard this patch.
src/iapis/baidu/ImageProcessing.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
         ]), [
56 56
             'access_token' => $this->_token,
57 57
         ]));
58
-        $this->_toArrayCall = function ($result) {
58
+        $this->_toArrayCall = function($result) {
59 59
             return I::get($result, 'image');
60 60
         };
61 61
 
Please login to merge, or discard this patch.
src/I.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,8 +84,8 @@
 block discarded – undo
84 84
             }
85 85
             return $mixed;
86 86
         } elseif (is_string($mixed) || is_numeric($mixed)) { // 字符串或数字
87
-            $pos = (int) $keyString;
88
-            $length = null === $defaultValue ? 1 : (int) $defaultValue;
87
+            $pos = (int)$keyString;
88
+            $length = null === $defaultValue ? 1 : (int)$defaultValue;
89 89
             return Strings::sub($mixed, $pos, $length);
90 90
         } elseif (null === $mixed) { // null
91 91
             return $defaultValue;
Please login to merge, or discard this patch.
src/ihelpers/Crypto.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -480,6 +480,6 @@
 block discarded – undo
480 480
     public function isVerify($data, $signature, $signType = OPENSSL_ALGO_SHA256)
481 481
     {
482 482
         C::assertNotTrue(null === $this->_pemPublic, '请使用 setPair 提供公钥');
483
-        return (boolean) openssl_verify($data, $signature, $this->_pemPublic, $signType);
483
+        return (boolean)openssl_verify($data, $signature, $this->_pemPublic, $signType);
484 484
     }
485 485
 }
Please login to merge, or discard this patch.
src/ihelpers/Json.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
         if (false === self::isJson($json)) {
92 92
             $json = '[]';
93 93
         }
94
-        echo $json;die;
94
+        echo $json; die;
95 95
     }
96 96
 
97 97
     /**
Please login to merge, or discard this patch.