From 1a6244c68577471eb99bc4b2e6d0e8182b32ab6b Mon Sep 17 00:00:00 2001 From: Kevin Bond Date: Fri, 5 Oct 2018 13:32:23 -0400 Subject: [PATCH] disable timeout in init command --- src/InitCommand.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/InitCommand.php b/src/InitCommand.php index 151a9d4..b0e1f16 100644 --- a/src/InitCommand.php +++ b/src/InitCommand.php @@ -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');