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
Pull Request — master (#1)
by t
63:04
created
src/ihelpers/Arrays.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
     public static function combine($keys, $values)
261 261
     {
262 262
         if (count($keys) == count($values)) {
263
-            return (array) array_combine($keys, $values);
263
+            return (array)array_combine($keys, $values);
264 264
         }
265 265
         $array = [];
266 266
         foreach ($keys as $index => $key) {
@@ -663,7 +663,7 @@  discard block
 block discarded – undo
663 663
             } elseif (is_string($callback) || is_callable($callback)) {
664 664
                 $function = $callback;
665 665
                 if (is_string($callback)) {
666
-                    $function = function ($row) use ($callback, $isStrict) {
666
+                    $function = function($row) use ($callback, $isStrict) {
667 667
                         return true === $isStrict ? $row === $callback : $row == $callback;
668 668
                     };
669 669
                 }
Please login to merge, or discard this patch.
src/icomponents/file/LocalFile.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     {
51 51
         setlocale(LC_ALL, $locale);
52 52
         clearstatcache();
53
-        $this->_functions['loader'] = function ($fileName) {
53
+        $this->_functions['loader'] = function($fileName) {
54 54
             $hashName = $this->__hash($fileName);
55 55
             $this->_attributes[$hashName] = I::get($this->_attributes, $hashName, [
56 56
                 'isCached' => false,
@@ -81,8 +81,8 @@  discard block
 block discarded – undo
81 81
                         }
82 82
                     }
83 83
                     curl_close($curl);
84
-                } elseif ((bool) ini_get('allow_url_fopen')) {
85
-                    $headArray = (array) get_headers($fileName, 1);
84
+                } elseif ((bool)ini_get('allow_url_fopen')) {
85
+                    $headArray = (array)get_headers($fileName, 1);
86 86
                     if (preg_match('/200/', $headArray[0])) {
87 87
                         $this->_attributes[$hashName]['isExists'] = true;
88 88
                         $this->_attributes[$hashName]['fileSize'] = $headArray['Content-Length'];
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      */
144 144
     private function __file($file)
145 145
     {
146
-        return (string) I::getAlias($file);
146
+        return (string)I::getAlias($file);
147 147
     }
148 148
 
149 149
     /**
@@ -536,7 +536,7 @@  discard block
 block discarded – undo
536 536
                 chmod($subFile, $mode);
537 537
             }
538 538
         }
539
-        return (bool) chmod($file, $mode);
539
+        return (bool)chmod($file, $mode);
540 540
     }
541 541
 
542 542
     /**
Please login to merge, or discard this patch.