From f1428fe4a9977397763e1f63697cc4c24c14e85e Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Fri, 1 Dec 2023 09:55:03 +0100 Subject: [PATCH] run composer update for compatibility with PHPUnit versions shipping composer.lock --- bin/simple-phpunit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/simple-phpunit.php b/bin/simple-phpunit.php index bc25187..816e8d9 100644 --- a/bin/simple-phpunit.php +++ b/bin/simple-phpunit.php @@ -262,7 +262,7 @@ putenv("COMPOSER_ROOT_VERSION=$PHPUNIT_VERSION.99"); $q = '\\' === \DIRECTORY_SEPARATOR && \PHP_VERSION_ID < 80000 ? '"' : ''; // --no-suggest is not in the list to keep compat with composer 1.0, which is shipped with Ubuntu 16.04LTS - $exit = proc_close(proc_open("$q$COMPOSER install --no-dev --prefer-dist --no-progress $q", [], $p, getcwd())); + $exit = proc_close(proc_open("$q$COMPOSER update --no-dev --prefer-dist --no-progress $q", [], $p, getcwd())); putenv('COMPOSER_ROOT_VERSION'.(false !== $prevRoot ? '='.$prevRoot : '')); if ($prevCacheDir) { putenv("COMPOSER_CACHE_DIR=$prevCacheDir");