|
@@ 207-211 (lines=5) @@
|
| 204 |
|
File::put($file, '<?php return '.var_export($config, true).';'.PHP_EOL); |
| 205 |
|
}); |
| 206 |
|
|
| 207 |
|
if ($this->option('with-dev') === false) { |
| 208 |
|
$this->task('Temporarily removing dev dependencies', function () { |
| 209 |
|
$this->app[Composer::class]->install(['--no-dev']); |
| 210 |
|
}); |
| 211 |
|
} |
| 212 |
|
|
| 213 |
|
$stub = str_replace('#!/usr/bin/env php', '', File::get($this->app->basePath(ARTISAN_BINARY))); |
| 214 |
|
|
|
@@ 234-238 (lines=5) @@
|
| 231 |
|
|
| 232 |
|
File::delete($this->app->basePath($this->stub)); |
| 233 |
|
|
| 234 |
|
if ($this->option('with-dev') === false) { |
| 235 |
|
$this->task('Reinstalling dev dependencies', function () { |
| 236 |
|
$this->app[Composer::class]->install(); |
| 237 |
|
}); |
| 238 |
|
} |
| 239 |
|
|
| 240 |
|
static::$config = null; |
| 241 |
|
|