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
Branch dev (7379e0)
by t
02:34
created
src/ihelpers/Ini.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
                 if (Strings::isStartsWith(trim($line), '#')) {
87 87
                     continue;
88 88
                 }
89
-                list($name, $value) = Arrays::lists(explode('=', $line), 2, function ($row) {
89
+                list($name, $value) = Arrays::lists(explode('=', $line), 2, function($row) {
90 90
                     return trim($row);
91 91
                 });
92 92
                 $array[$name] = $value;
@@ -97,10 +97,10 @@  discard block
 block discarded – undo
97 97
             }
98 98
         } elseif (self::TYPE_JSON === $this->_type) {
99 99
             $content = $local->getFileContent($this->_file);
100
-            $array = Json::decode((string) $content);
100
+            $array = Json::decode((string)$content);
101 101
         } elseif (self::TYPE_XML === $this->_type) {
102 102
             $content = $local->getFileContent($this->_file);
103
-            $array = Xml::toArray((string) $content);
103
+            $array = Xml::toArray((string)$content);
104 104
         }
105 105
         return $array;
106 106
     }
Please login to merge, or discard this patch.
src/ihelpers/Numbers.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      */
80 80
     public static function toBytes($size)
81 81
     {
82
-        $callback = function ($matches) {
82
+        $callback = function($matches) {
83 83
             $sizeMap = [
84 84
                 '' => 0,
85 85
                 'b' => 0, // 为了简化正则
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
             return $matches[1] * pow(1024, $sizeMap[strtolower($matches[2])]);
94 94
         };
95 95
 
96
-        return (int) preg_replace_callback('/(\d*)\s*([a-z]?)b?/i', $callback, $size, 1);
96
+        return (int)preg_replace_callback('/(\d*)\s*([a-z]?)b?/i', $callback, $size, 1);
97 97
     }
98 98
 
99 99
     /**
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
         if ($toBaseInput == '0123456789') {
157 157
             $retval = 0;
158 158
             for ($i = 1; $i <= $numberLen; $i++) {
159
-                $retval = bcadd($retval, bcmul((string) array_search($number[$i - 1], $fromBase), bcpow($fromLen, $numberLen - $i)));
159
+                $retval = bcadd($retval, bcmul((string)array_search($number[$i - 1], $fromBase), bcpow($fromLen, $numberLen - $i)));
160 160
             }
161 161
 
162 162
             return $retval;
Please login to merge, or discard this patch.