1
0
Fork 0

Use --ignore-platform-req=php (#8936)

pull/8937/head
Graham Campbell 2020-06-02 12:03:58 +01:00 committed by GitHub
parent 5e5f9f8142
commit 7a97741aae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -118,7 +118,7 @@ jobs:
- name: "Handle ignore-platform-reqs dependencies update"
if: "contains(matrix.dependencies, 'ignore')"
run: "echo \"::set-env name=COMPOSER_FLAGS::$COMPOSER_FLAGS --ignore-platform-reqs\""
run: "echo \"::set-env name=COMPOSER_FLAGS::$COMPOSER_FLAGS --ignore-platform-req=php\""
- name: "Remove platform config to get latest dependencies for current PHP version when build is not locked"
run: "composer config platform --unset"
@ -134,7 +134,7 @@ jobs:
- name: "Require latest PHPUnitBridge for PHP 8"
if: "matrix.php-version == '8.0'"
run: |
composer require --no-update --dev symfony/phpunit-bridge:^5.1.0-RC2
composer require --no-update --dev symfony/phpunit-bridge:^5.1
composer config -g platform-check false
- name: "Update Symfony's PHPUnitBridge to latest available for the current PHP always as it is not really a dependency of the project"