The --no-suggest option has been removed in Composer 2

This commit is contained in:
Sebastian Bergmann 2020-04-10 08:11:45 +02:00
parent 2ec2da09cd
commit 2b2f3a2b0e
2 changed files with 3 additions and 4 deletions

View File

@ -32,7 +32,7 @@ jobs:
uses: "docker://ergebnis/composer-root-version-action:0.1.3"
- name: "Update dependencies with composer"
run: "php7.3 ./tools/composer update --no-ansi --no-interaction --no-progress --no-suggest"
run: "php7.3 ./tools/composer update --no-ansi --no-interaction --no-progress"
- name: "Run vimeo/psalm"
run: "php7.3 ./tools/psalm --config=.psalm/config.xml --no-progress --shepherd --show-info=false --stats"
@ -74,11 +74,11 @@ jobs:
- name: "Install lowest dependencies with composer"
if: "matrix.dependencies == 'lowest'"
run: "./tools/composer update --no-ansi --no-interaction --no-progress --no-suggest --prefer-lowest"
run: "./tools/composer update --no-ansi --no-interaction --no-progress --prefer-lowest"
- name: "Install highest dependencies with composer"
if: "matrix.dependencies == 'highest'"
run: "./tools/composer update --no-ansi --no-interaction --no-progress --no-suggest"
run: "./tools/composer update --no-ansi --no-interaction --no-progress"
- name: "Run tests with phpunit/phpunit"
run: "vendor/bin/phpunit --coverage-clover=coverage.xml"

View File

@ -13,7 +13,6 @@
<arg value="--no-interaction"/>
<arg value="--no-progress"/>
<arg value="--no-ansi"/>
<arg value="--no-suggest"/>
</exec>
</target>