@@ -26,7 +26,7 @@ discard block |
||
| 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 |
||
| 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 | } |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | $composer = $this->findComposer(); |
| 66 | 66 | if ($this->argument('mongodb') == 'mongodb') { |
| 67 | 67 | $this->info('Installing MongoDB package'); |
| 68 | - $process = new Process($composer . ' require jenssegers/mongodb'); |
|
| 68 | + $process = new Process($composer.' require jenssegers/mongodb'); |
|
| 69 | 69 | $process->setTimeout(null); // Setting timeout to null to prevent installation from stopping at a certain point in time |
| 70 | 70 | $process->setWorkingDirectory(base_path())->run(); |
| 71 | 71 | } |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | $this->call('storage:link'); |
| 79 | 79 | // Dump autoload |
| 80 | 80 | $this->info('Dumping the autoloaded files and reloading all new files'); |
| 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 | // Migrate database |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | // Database seeder |
| 107 | 107 | $this->info('Seeding...'); |
| 108 | 108 | $class = 'DatabaseManagerSeeder'; |
| 109 | - $file = $this->seedersPath . $class . '.php'; |
|
| 109 | + $file = $this->seedersPath.$class.'.php'; |
|
| 110 | 110 | if (file_exists($file) && !class_exists($class)) { |
| 111 | 111 | require_once $file; |
| 112 | 112 | } |