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 ( c58cdc...551a9d )
by Albert
02:38
created
src/DbExporter/DbSeeding.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
 
111 111
     /**
112 112
      * Compile the current seedingStub with the seed template
113
-     * @return mixed
113
+     * @return string
114 114
      */
115 115
     protected function compile()
116 116
     {
Please login to merge, or discard this patch.
src/DbExporter/DbExporter.php 1 patch
Spacing   +3 added lines, -3 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
     /**
@@ -106,8 +106,8 @@  discard block
 block discarded – undo
106 106
         $dir = $del;
107 107
         $directories = explode($del, $path);
108 108
         foreach ($directories as $key => $directory) {
109
-            $dir.=$directory;
110
-            if(!is_dir($dir)){
109
+            $dir .= $directory;
110
+            if (!is_dir($dir)) {
111 111
                 @mkdir($dir);
112 112
             }
113 113
         }
Please login to merge, or discard this patch.
src/DbExporter/Server.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,16 +31,16 @@
 block discarded – undo
31 31
 
32 32
             // Copy the files
33 33
             Storage::disk($this->getDiskName())->put(
34
-                $remotePath .'/'.$file,
34
+                $remotePath . '/' . $file,
35 35
                 file_get_contents($localPath . '/' . $file)
36 36
             );
37 37
         }
38 38
 
39 39
         return true;
40 40
     }
41
-    public function files($what='')
41
+    public function files($what = '')
42 42
     {
43
-        $localPath = Config::get('db-exporter.export_path.'.$what);
43
+        $localPath = Config::get('db-exporter.export_path.' . $what);
44 44
 
45 45
         return scandir($localPath);
46 46
     }
Please login to merge, or discard this patch.
src/DbExporter/DbExportHandlerServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,11 +33,11 @@  discard block
 block discarded – undo
33 33
     public function boot(DbMigrations $migrator)
34 34
     {
35 35
         $this->publishes([
36
-            realpath(__DIR__ .'/../').'/config/db-exporter.php' => config_path('db-exporter.php'),
36
+            realpath(__DIR__ . '/../') . '/config/db-exporter.php' => config_path('db-exporter.php'),
37 37
         ], 'config');
38 38
 
39 39
         $this->mergeConfigFrom(
40
-            realpath(__DIR__ .'/../').'/config/db-exporter.php', 'db-exporter'
40
+            realpath(__DIR__ . '/../') . '/config/db-exporter.php', 'db-exporter'
41 41
         );
42 42
         // Instatiate a new DbMigrations class to send to the handler
43 43
         $this->migrator = $migrator;
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
         return new DbExportHandler($app[DbMigrations::class], $seeder);
124 124
         });
125 125
 
126
-        $this->app->bind('DbExporter', function($app){
126
+        $this->app->bind('DbExporter', function($app) {
127 127
             return $app[DbExportHandler::class];
128 128
         });
129 129
     }
Please login to merge, or discard this patch.
src/config/db-exporter.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -3,21 +3,21 @@
 block discarded – undo
3 3
 return array(
4 4
     'backup' => array(
5 5
 
6
-       /**
7
-		* The disk where your files will be backed up
8
-    	**/
6
+        /**
7
+         * The disk where your files will be backed up
8
+         **/
9 9
         'disk' => 'local',
10 10
 
11 11
 
12 12
         /**
13
-		* Location on disk where to backup migratons
14
-    	**/
13
+         * Location on disk where to backup migratons
14
+         **/
15 15
         'migrations' => 'backup/migrations/',
16 16
 
17 17
 
18 18
         /**
19
-		* Location on disk where to backup seeds
20
-    	**/
19
+         * Location on disk where to backup seeds
20
+         **/
21 21
         'seeds' => 'backup/seeds/'
22 22
 
23 23
     ),
Please login to merge, or discard this patch.