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