Skip to content

Commit

Permalink
disable timeout in init command
Browse files Browse the repository at this point in the history
  • Loading branch information
kbond committed Oct 5, 2018
1 parent 11e228c commit 1a6244c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/InitCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ protected function execute(InputInterface $input, OutputInterface $output)
(new Filesystem())->remove($this->getDocumentRoot());

$io->comment('Downloading latest version of phpMyAdmin...');
(new Process('composer create-project phpmyadmin/phpmyadmin .phpmyadmin', $this->getHomeDir()))->run();

(new Process('composer create-project phpmyadmin/phpmyadmin .phpmyadmin', $this->getHomeDir()))
->setTimeout(null)
->run()
;

$io->comment('Generating config.inc.php');
$config = file_get_contents(__DIR__.'/../resources/config.inc.template');
Expand Down

0 comments on commit 1a6244c

Please sign in to comment.