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
Push — master ( e3ed33...e324fa )
by t
01:57
created
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.