Skip to content

Commit

Permalink
remove commentss
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Feb 24, 2021
1 parent 87c63c2 commit a317a1a
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions src/Console/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,13 @@ class InstallCommand extends Command
*/
public function handle()
{
// if ($this->option('services')) {
// $services = $this->option('services') == 'none' ? [] : explode(',', $this->option('services'));
// } elseif ($this->option('no-interaction')) {
// $services = ['mysql', 'redis', 'selenium', 'mailhog'];
// } else {
// $services = $this->gatherServicesWithSymfonyMenu();
// }

$services = ['mysql', 'redis', 'selenium', 'mailhog'];
if ($this->option('services')) {
$services = $this->option('services') == 'none' ? [] : explode(',', $this->option('services'));
} elseif ($this->option('no-interaction')) {
$services = ['mysql', 'redis', 'selenium', 'mailhog'];
} else {
$services = $this->gatherServicesWithSymfonyMenu();
}

$this->buildDockerCompose($services);
$this->replaceEnvVariables($services);
Expand Down

0 comments on commit a317a1a

Please sign in to comment.