@@ -61,12 +61,12 @@ jobs:
6161 php-version : ' ${{ needs.fetch-supported-versions.outputs.php-max }}'
6262 symfony-version : ' ${{ needs.fetch-supported-versions.outputs.symfony-max }}'
6363 # Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
64- pkg-extra-constraints : behat/gherkin:~4.12.0
64+ pkg-extra-constraints : --with ' behat/gherkin:~4.12.0'
6565 - job-name : Up to date versions - Sf 6.4 case
6666 php-version : ' ${{ needs.fetch-supported-versions.outputs.php-max }}'
6767 symfony-version : ' 6.4'
6868 # Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
69- pkg-extra-constraints : behat/gherkin:~4.12.0
69+ pkg-extra-constraints : --with ' behat/gherkin:~4.12.0'
7070 - job-name : Bare minimum # => Lowest versions allowed by composer config
7171 php-version : ' ${{ needs.fetch-supported-versions.outputs.php-min }}'
7272 symfony-version : ' ${{ needs.fetch-supported-versions.outputs.symfony-min }}'
8282 php-version : ' ${{ needs.fetch-supported-versions.outputs.php-max }}'
8383 symfony-version : ' ${{ needs.fetch-supported-versions.outputs.symfony-min }}'
8484 # Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
85- pkg-extra-constraints : behat/gherkin:~4.12.0
85+ pkg-extra-constraints : --with ' behat/gherkin:~4.12.0'
8686 steps :
8787 - name : Check out code
8888 uses : actions/checkout@v5
@@ -120,8 +120,8 @@ jobs:
120120 - name : Build with PHP ${{ steps.setup-php.outputs.php-version }} & Symfony ${{ matrix.symfony-version }}
121121 run : |
122122 SF_CONSTRAINT="~${{ matrix.symfony-version }}.0"
123- composer require -W \
124- symfony/validator:${SF_CONSTRAINT} \
123+ composer update --no-install --with-all-dependencies --minimal-changes \
124+ --with " symfony/validator:${SF_CONSTRAINT}" \
125125 ${{ matrix.pkg-extra-constraints }} \
126126 && make build
127127
@@ -202,8 +202,8 @@ jobs:
202202 - name : Build with PHP ${{ steps.setup-php.outputs.php-version }} & Symfony ${{ env.SYMFONY_VERSION }}
203203 run : |
204204 SF_CONSTRAINT="~${{ env.SYMFONY_VERSION }}.0"
205- composer require -W \
206- symfony/validator:${SF_CONSTRAINT} \
205+ composer update --no-install --with-all-dependencies --minimal-changes \
206+ --with " symfony/validator:${SF_CONSTRAINT}" \
207207 && make build
208208
209209 - name : ComposerRequireChecker
@@ -231,25 +231,25 @@ jobs:
231231 php-version : ${{ needs.fetch-supported-versions.outputs.php-next }}
232232 symfony-version : ${{ needs.fetch-supported-versions.outputs.symfony-max }}
233233 # Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
234- pkg-extra-constraints : behat/gherkin:~4.12.0
234+ pkg-extra-constraints : --with ' behat/gherkin:~4.12.0'
235235 - job-name : PHP with lowest supported Symfony versions
236236 php-version : ${{ needs.fetch-supported-versions.outputs.php-next }}
237237 symfony-version : ${{ needs.fetch-supported-versions.outputs.symfony-min }}
238238 # Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
239- pkg-extra-constraints : behat/gherkin:~4.12.0
239+ pkg-extra-constraints : --with ' behat/gherkin:~4.12.0'
240240 - job-name : Symfony with highest supported PHP version
241241 php-version : ${{ needs.fetch-supported-versions.outputs.php-max }}
242242 symfony-version : ${{ needs.fetch-supported-versions.outputs.symfony-next }}
243243 # Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
244244 # Fix - symfony/framework-bundle - Framework bundle <7.0 require php 8.1 minimum !
245- pkg-extra-constraints : behat/gherkin:~4.12.0
245+ pkg-extra-constraints : --with ' behat/gherkin:~4.12.0'
246246 - job-name : Symfony with lowest supported PHP version
247247 # Fix - symfony/validator 7.1 require php 8.2 minimum !
248248 php-version : ${{ ( needs.fetch-supported-versions.outputs.symfony-next == '7.1' && needs.fetch-supported-versions.outputs.php-min == '8.0' ) && '8.2' || needs.fetch-supported-versions.outputs.php-min }}
249249 symfony-version : ${{ needs.fetch-supported-versions.outputs.symfony-next }}
250250 # Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
251251 # Fix - symfony/framework-bundle - Framework bundle <7.0 require php 8.1 minimum !
252- pkg-extra-constraints : behat/gherkin:~4.12.0
252+ pkg-extra-constraints : --with ' behat/gherkin:~4.12.0'
253253
254254 steps :
255255 - name : Check out code
@@ -282,8 +282,8 @@ jobs:
282282 run : |
283283 SF_CONSTRAINT="~${{ matrix.symfony-version }}.0@dev"
284284 composer config minimum-stability dev \
285- && composer require -W \
286- symfony/validator:${SF_CONSTRAINT} \
285+ && composer update --no-install --with-all-dependencies --minimal-changes \
286+ --with " symfony/validator:${SF_CONSTRAINT}" \
287287 ${{ matrix.pkg-extra-constraints }} \
288288 && make build
289289
0 commit comments