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 ( 6f0cea...d364f9 )
by Albert
02:20
created
src/DbExporter/DbExportHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
      */
88 88
     public function ignore(...$tables)
89 89
     {
90
-        DbExporter::$ignore = array_merge(DbExporter::$ignore, (array) $tables);
90
+        DbExporter::$ignore = array_merge(DbExporter::$ignore, (array)$tables);
91 91
 
92 92
         return $this;
93 93
     }
Please login to merge, or discard this patch.
src/DbExporter/DbExporter.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     {
54 54
         $pdo = DB::connection()->getPdo();
55 55
 
56
-        return $pdo->query('SELECT table_name FROM information_schema.tables WHERE table_schema="'.$this->database.'"');
56
+        return $pdo->query('SELECT table_name FROM information_schema.tables WHERE table_schema="' . $this->database . '"');
57 57
     }
58 58
 
59 59
 //end getTables()
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     {
63 63
         $pdo = DB::connection()->getPdo();
64 64
 
65
-        return $pdo->query('SHOW INDEX FROM '.$this->database.'.'.$table.' WHERE Key_name != "PRIMARY"');
65
+        return $pdo->query('SHOW INDEX FROM ' . $this->database . '.' . $table . ' WHERE Key_name != "PRIMARY"');
66 66
     }
67 67
 
68 68
 //end getTableIndexes()
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
      */
113 113
     protected function getTableData($table)
114 114
     {
115
-        return DB::table($this->database.'.'.$table)->get();
115
+        return DB::table($this->database . '.' . $table)->get();
116 116
     }
117 117
 
118 118
 //end getTableData()
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
         $directories = explode($del, $path);
130 130
         foreach ($directories as $directory) {
131 131
             if (!empty($directory)) {
132
-                $dir .= $del.$directory;
132
+                $dir .= $del . $directory;
133 133
             }
134 134
 
135 135
             if (!is_dir($dir)) {
Please login to merge, or discard this patch.
src/DbExporter/DbExportHandlerServiceProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
     {
99 99
         $this->app->singleton(
100 100
             'db-exporter.migrations',
101
-            function ($app) {
101
+            function($app) {
102 102
                 return new Commands\MigrationsGeneratorCommand($app[DbExportHandler::class]);
103 103
             }
104 104
         );
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
     {
114 114
         $this->app->singleton(
115 115
             'db-exporter.seeds',
116
-            function ($app) {
116
+            function($app) {
117 117
                 return new Commands\SeedGeneratorCommand($app[DbExportHandler::class]);
118 118
             }
119 119
         );
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
     {
126 126
         $this->app->singleton(
127 127
             'db-exporter.backup',
128
-            function () {
128
+            function() {
129 129
                 return new Commands\CopyToRemoteCommand();
130 130
             }
131 131
         );
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
     {
141 141
         $this->app->bind(
142 142
             DbExportHandler::class,
143
-            function ($app) {
143
+            function($app) {
144 144
                 // Instatiate a new DbSeeding class to send to the handler
145 145
                 $seeder = new DbSeeding($app[DbMigrations::class]->database);
146 146
 
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
 
152 152
         $this->app->bind(
153 153
             'DbExporter',
154
-            function ($app) {
154
+            function($app) {
155 155
                 return $app[DbExportHandler::class];
156 156
             }
157 157
         );
Please login to merge, or discard this patch.
src/DbExporter/DbMigrationsServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     {
34 34
         $this->app->singleton(
35 35
             DbMigrations::class,
36
-            function () {
36
+            function() {
37 37
                 $connType = Config::get('database.default');
38 38
                 $database = Config::get('database.connections.' . $connType);
39 39
 
Please login to merge, or discard this patch.
src/DbExporter/Commands/CopyToRemoteCommand.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
                 $this->line("\n");
39 39
                 $this->info(ucfirst($type));
40 40
                 foreach ($files as $file) {
41
-                    $this->sectionMessage($type, $file.' uploaded.');
41
+                    $this->sectionMessage($type, $file . ' uploaded.');
42 42
                 }
43 43
             }
44 44
 
@@ -91,9 +91,9 @@  discard block
 block discarded – undo
91 91
 
92 92
     protected function upload($what)
93 93
     {
94
-        $localPath = Config::get('db-exporter.export_path.'.$what);
94
+        $localPath = Config::get('db-exporter.export_path.' . $what);
95 95
         $dir = scandir($localPath);
96
-        $remotePath = Config::get('db-exporter.remote.'.$what);
96
+        $remotePath = Config::get('db-exporter.remote.' . $what);
97 97
         $this->line("\n");
98 98
         $this->info(ucfirst($what));
99 99
         // Prepare the progress bar
@@ -105,12 +105,12 @@  discard block
 block discarded – undo
105 105
             }
106 106
 
107 107
             // Capture the uploaded files for displaying later
108
-            $this->uploadedFiles[$what][] = $remotePath.$file;
108
+            $this->uploadedFiles[$what][] = $remotePath . $file;
109 109
 
110 110
             // Copy the files
111 111
             Storage::disk($this->getDiskName())->put(
112
-                $remotePath.$file,
113
-                $localPath.'/'.$file
112
+                $remotePath . $file,
113
+                $localPath . '/' . $file
114 114
             );
115 115
             $progress->advance();
116 116
         }
Please login to merge, or discard this patch.