Passed
Push — main ( 386da6...ffe99e )
by ikechukwu
08:55
created
Tests/TestCase.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 
13 13
     public function setUp(): void
14 14
     {
15
-      parent::setUp();
15
+        parent::setUp();
16 16
     }
17 17
 
18 18
     protected function defineDatabaseMigrations()
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     protected function defineDatabaseMigrations()
19 19
     {
20 20
         $this->loadLaravelMigrations();
21
-        $this->loadMigrationsFrom(__DIR__.'/../src/migrations');
21
+        $this->loadMigrationsFrom(__DIR__ . '/../src/migrations');
22 22
     }
23 23
 
24 24
     protected function getPackageProviders($app): array
Please login to merge, or discard this patch.
src/migrations/2023_03_17_182714_create_database_configurations_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public function up(): void
13 13
     {
14
-        Schema::create('database_configurations', function (Blueprint $table) {
14
+        Schema::create('database_configurations', function(Blueprint $table) {
15 15
             $table->id();
16 16
             $table->string('ref')->unique();
17 17
             $table->string('name');
Please login to merge, or discard this patch.
src/DynamicDatabaseConfigServiceProvider.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
         $router->aliasMiddleware('dynamic.database.config', DynamicDatabaseConfig::class);
34 34
         $router->aliasMiddleware('env.database.config', EnvDatabaseConfig::class);
35 35
 
36
-       $this->loadMigrationsFrom(self::DB);
36
+        $this->loadMigrationsFrom(self::DB);
37 37
 
38 38
         $this->publishes([
39 39
             self::CONFIG => config_path('dynamicdatabaseconfig.php'),
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
 
13 13
 class DynamicDatabaseConfigServiceProvider extends ServiceProvider
14 14
 {
15
-    public const DB = __DIR__.'/migrations';
16
-    public const CONFIG = __DIR__.'/config/dynamicdatabaseconfig.php';
15
+    public const DB = __DIR__ . '/migrations';
16
+    public const CONFIG = __DIR__ . '/config/dynamicdatabaseconfig.php';
17 17
 
18 18
     /**
19 19
      * Bootstrap the application services.
Please login to merge, or discard this patch.