Skip to content

Commit f1428fe

Browse files
committed
run composer update for compatibility with PHPUnit versions shipping composer.lock
1 parent 30656f4 commit f1428fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: bin/simple-phpunit.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@
262262
putenv("COMPOSER_ROOT_VERSION=$PHPUNIT_VERSION.99");
263263
$q = '\\' === \DIRECTORY_SEPARATOR && \PHP_VERSION_ID < 80000 ? '"' : '';
264264
// --no-suggest is not in the list to keep compat with composer 1.0, which is shipped with Ubuntu 16.04LTS
265-
$exit = proc_close(proc_open("$q$COMPOSER install --no-dev --prefer-dist --no-progress $q", [], $p, getcwd()));
265+
$exit = proc_close(proc_open("$q$COMPOSER update --no-dev --prefer-dist --no-progress $q", [], $p, getcwd()));
266266
putenv('COMPOSER_ROOT_VERSION'.(false !== $prevRoot ? '='.$prevRoot : ''));
267267
if ($prevCacheDir) {
268268
putenv("COMPOSER_CACHE_DIR=$prevCacheDir");

0 commit comments

Comments
 (0)