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/DbMigrations.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -103,18 +103,18 @@  discard block
 block discarded – undo
103 103
 
104 104
             $tableIndexes = $this->getTableIndexes($value['table_name']);
105 105
             if (!is_null($tableIndexes) && count($tableIndexes)){
106
-            	foreach ($tableIndexes as $index) {
106
+                foreach ($tableIndexes as $index) {
107 107
                     if(Str::endsWith($index['Key_name'], '_index')) {
108
-                                    	   $up .= '                $' . "table->index('" . $index['Column_name'] . "');\n";
108
+                                            $up .= '                $' . "table->index('" . $index['Column_name'] . "');\n";
109 109
                     }
110 110
                     }
111
-            	}
111
+                }
112 112
 
113 113
             $up .= "            });\n\n";
114 114
             $Constraint = $ConstraintDown = "";
115 115
             /** 
116
-            * @var array $tableConstraints 
117
-            */
116
+             * @var array $tableConstraints 
117
+             */
118 118
             $tableConstraints = $this->getTableConstraints($value['table_name']);
119 119
             if (!is_null($tableConstraints) && count($tableConstraints)) {
120 120
             $Constraint = $ConstraintDown = "
@@ -143,8 +143,8 @@  discard block
 block discarded – undo
143 143
 
144 144
     public function columnType($type)
145 145
     {
146
-       $columns = ['int'=> 'integer','smallint' => 'smallInteger','bigint' => 'bigInteger','char '=>'string', 'varchar' => 'string','float' => 'float','double' => 'double','decimal' => 'decimal','tinyint' => 'boolean','date' => 'date','timestamp' => 'timestamp','datetime' => 'dateTime','longtext' => 'longText','mediumtext' => 'mediumText','text' => 'text','longblob' => 'binary' ,'blob' => 'binary','enum' => 'enum'];
147
-       return array_key_exists($type, $columns) ? $columns[$type] : '';
146
+        $columns = ['int'=> 'integer','smallint' => 'smallInteger','bigint' => 'bigInteger','char '=>'string', 'varchar' => 'string','float' => 'float','double' => 'double','decimal' => 'decimal','tinyint' => 'boolean','date' => 'date','timestamp' => 'timestamp','datetime' => 'dateTime','longtext' => 'longText','mediumtext' => 'mediumText','text' => 'text','longblob' => 'binary' ,'blob' => 'binary','enum' => 'enum'];
147
+        return array_key_exists($type, $columns) ? $columns[$type] : '';
148 148
                         
149 149
                
150 150
 
Please login to merge, or discard this patch.
src/DbExporter/DbMigrationsServiceProvider.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,8 @@
 block discarded – undo
22 22
     public function boot()
23 23
     {
24 24
 
25
-       $loader = AliasLoader::getInstance();
26
-       $loader->alias('DbMigrations', 'Facades\DbMigrations');
25
+        $loader = AliasLoader::getInstance();
26
+        $loader->alias('DbMigrations', 'Facades\DbMigrations');
27 27
 
28 28
 
29 29
     }
Please login to merge, or discard this patch.
src/DbExporter/DbExportHandlerServiceProvider.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
         );
42 42
         // Instatiate a new DbMigrations class to send to the handler
43 43
         $this->migrator = $migrator;
44
-         // Load the alias
44
+            // Load the alias
45 45
         $this->loadAlias();
46 46
        
47 47
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
         $this->app->register(DbMigrationsServiceProvider::class);
54 54
         // Register the base export handler class
55 55
         $this->registerDbExportHandler();
56
-         // Handle the artisan commands
56
+            // Handle the artisan commands
57 57
         $this->registerCommands();
58 58
     }
59 59
 
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
         // when the Artisan application actually starts up and is getting used.
78 78
         $this->commands('db-exporter.migrations', 'db-exporter.seeds', 'db-exporter.backup');
79 79
                 
80
-     }
80
+        }
81 81
 
82 82
     /**
83 83
      * Register the migrations command
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.