Completed
Push — master ( 9d44dc...274e3c )
by CodexShaper
45:12 queued 11:23
created
src/Commands/InstallDatabaseManager.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
      *
27 27
      * @var string
28 28
      */
29
-    protected $seedersPath = __DIR__ . '/../../database/seeds/';
29
+    protected $seedersPath = __DIR__.'/../../database/seeds/';
30 30
 
31 31
     /**
32 32
      * Get Option
@@ -47,8 +47,8 @@  discard block
 block discarded – undo
47 47
      */
48 48
     protected function findComposer()
49 49
     {
50
-        if (file_exists(getcwd() . '/composer.phar')) {
51
-            return '"' . PHP_BINARY . '" ' . getcwd() . '/composer.phar';
50
+        if (file_exists(getcwd().'/composer.phar')) {
51
+            return '"'.PHP_BINARY.'" '.getcwd().'/composer.phar';
52 52
         }
53 53
         return 'composer';
54 54
     }
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         // Dump autoload
79 79
         $this->info('Dumping the autoloaded files and reloading all new files');
80 80
         $composer = $this->findComposer();
81
-        $process  = new Process($composer . ' dump-autoload');
81
+        $process  = new Process($composer.' dump-autoload');
82 82
         $process->setTimeout(null); // Setting timeout to null to prevent installation from stopping at a certain point in time
83 83
         $process->setWorkingDirectory(base_path())->run();
84 84
         // Load Custom Database Manager routes
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
         // Database seeder
101 101
         $this->info('Seeding...');
102 102
         $class = 'DatabaseManagerSeeder';
103
-        $file  = $this->seedersPath . $class . '.php';
103
+        $file  = $this->seedersPath.$class.'.php';
104 104
         if (file_exists($file) && !class_exists($class)) {
105 105
             require_once $file;
106 106
         }
Please login to merge, or discard this patch.