misc: Composer dependencies are installed according to the minimum supported PHP version (#1881)

This commit is contained in:
Roman Kelesidis 2025-04-22 14:33:08 +07:00 committed by GitHub
commit 5c4972ec12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 59 additions and 120 deletions

View file

@ -257,6 +257,8 @@ if (!is_file(BB_ROOT . 'vendor/autoload.php')) {
// Installing dependencies
if (is_file(BB_ROOT . 'composer.phar')) {
out('- Installing dependencies...', 'info');
runProcess('php ' . BB_ROOT . 'composer.phar update --no-install');
sleep(3);
runProcess('php ' . BB_ROOT . 'composer.phar install --no-interaction --no-ansi');
define('COMPOSER_COMPLETED', true);
} else {