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 ( 72e766...44fe7b )
by Albert
22:51
created
src/DbExporter/DbExporter.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     public function getTableIndexes($table)
55 55
     {
56 56
         $pdo = DB::connection()->getPdo();
57
-        return $pdo->query('SHOW INDEX FROM ' .$this->database.'.'. $table . ' WHERE Key_name != "PRIMARY"');
57
+        return $pdo->query('SHOW INDEX FROM ' . $this->database . '.' . $table . ' WHERE Key_name != "PRIMARY"');
58 58
     }
59 59
 
60 60
     /**
@@ -103,12 +103,12 @@  discard block
 block discarded – undo
103 103
     protected function makePath($path)
104 104
     {
105 105
         $del = DIRECTORY_SEPARATOR;
106
-        $dir ='';
106
+        $dir = '';
107 107
         $directories = explode($del, $path);
108 108
          foreach ($directories as $key => $directory) { 
109
-            if(!empty($directory))
110
-                $dir.= $del.$directory;
111
-            if(!is_dir($dir))                                                                 
109
+            if (!empty($directory))
110
+                $dir .= $del . $directory;
111
+            if (!is_dir($dir))                                                                 
112 112
                 @mkdir($dir);
113 113
             }   
114 114
     }
Please login to merge, or discard this patch.