Skip to content

Commit

Permalink
update composer version
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Apr 15, 2024
1 parent 72cd464 commit f33c56b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions run_install.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,11 @@ function newConnection(string $database): \Doctrine\DBAL\Connection

function installComposer(string $folder)
{
$composerFile = $folder . '/composer.json';
$data = \json_decode(\file_get_contents($composerFile));
$data->require->{'fusio/impl'} = 'dev-master';
\file_put_contents($composerFile, \json_encode($data));

$process = new \Symfony\Component\Process\Process(['composer', 'install', '--no-interaction'], $folder);
$process->setTimeout(3600 * 15);

Expand Down

0 comments on commit f33c56b

Please sign in to comment.