Skip to content

Commit b534407

Browse files
committed
Remove platform config before selecting phpunit bridge version
1 parent 69fa55d commit b534407

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ jobs:
102102
if: "matrix.dependencies == 'locked'"
103103
run: "composer install ${{ env.COMPOSER_FLAGS }}"
104104

105+
- name: "Remove platform config"
106+
run: composer config platform --unset
107+
105108
- name: "Require latest PHPUnitBridge for PHP 8.x"
106109
if: "startsWith(matrix.php-version, '8.')"
107110
# using ~ here to avoid issues with windows CLI removing the ^
@@ -112,7 +115,7 @@ jobs:
112115
run: "echo \"SYMFONY_DEPRECATIONS_HELPER=baselineFile=./tests/deprecations-8.1.json&max[direct]=0\" >> $GITHUB_ENV"
113116

114117
- name: "Update dev requirements to latest available for the current PHP even on locked builds as they are not bundled dependencies"
115-
run: "composer config platform --unset && composer update ${{ env.COMPOSER_FLAGS }} -W symfony/phpunit-bridge phpspec/prophecy phpdocumentor/* sebastian/* doctrine/instantiator"
118+
run: "composer update ${{ env.COMPOSER_FLAGS }} -W symfony/phpunit-bridge phpspec/prophecy phpdocumentor/* sebastian/* doctrine/instantiator"
116119

117120
- name: "Run install again using composer binary from source"
118121
run: "bin/composer install ${{ env.COMPOSER_FLAGS }}"

0 commit comments

Comments
 (0)