@@ -61,12 +61,12 @@ jobs:
61
61
php-version : ' ${{ needs.fetch-supported-versions.outputs.php-max }}'
62
62
symfony-version : ' ${{ needs.fetch-supported-versions.outputs.symfony-max }}'
63
63
# 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'
65
65
- job-name : Up to date versions - Sf 6.4 case
66
66
php-version : ' ${{ needs.fetch-supported-versions.outputs.php-max }}'
67
67
symfony-version : ' 6.4'
68
68
# 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'
70
70
- job-name : Bare minimum # => Lowest versions allowed by composer config
71
71
php-version : ' ${{ needs.fetch-supported-versions.outputs.php-min }}'
72
72
symfony-version : ' ${{ needs.fetch-supported-versions.outputs.symfony-min }}'
82
82
php-version : ' ${{ needs.fetch-supported-versions.outputs.php-max }}'
83
83
symfony-version : ' ${{ needs.fetch-supported-versions.outputs.symfony-min }}'
84
84
# 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'
86
86
steps :
87
87
- name : Check out code
88
88
uses : actions/checkout@v5
@@ -120,8 +120,8 @@ jobs:
120
120
- name : Build with PHP ${{ steps.setup-php.outputs.php-version }} & Symfony ${{ matrix.symfony-version }}
121
121
run : |
122
122
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}" \
125
125
${{ matrix.pkg-extra-constraints }} \
126
126
&& make build
127
127
@@ -202,8 +202,8 @@ jobs:
202
202
- name : Build with PHP ${{ steps.setup-php.outputs.php-version }} & Symfony ${{ env.SYMFONY_VERSION }}
203
203
run : |
204
204
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}" \
207
207
&& make build
208
208
209
209
- name : ComposerRequireChecker
@@ -231,25 +231,25 @@ jobs:
231
231
php-version : ${{ needs.fetch-supported-versions.outputs.php-next }}
232
232
symfony-version : ${{ needs.fetch-supported-versions.outputs.symfony-max }}
233
233
# 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'
235
235
- job-name : PHP with lowest supported Symfony versions
236
236
php-version : ${{ needs.fetch-supported-versions.outputs.php-next }}
237
237
symfony-version : ${{ needs.fetch-supported-versions.outputs.symfony-min }}
238
238
# 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'
240
240
- job-name : Symfony with highest supported PHP version
241
241
php-version : ${{ needs.fetch-supported-versions.outputs.php-max }}
242
242
symfony-version : ${{ needs.fetch-supported-versions.outputs.symfony-next }}
243
243
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
244
244
# 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'
246
246
- job-name : Symfony with lowest supported PHP version
247
247
# Fix - symfony/validator 7.1 require php 8.2 minimum !
248
248
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 }}
249
249
symfony-version : ${{ needs.fetch-supported-versions.outputs.symfony-next }}
250
250
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
251
251
# 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'
253
253
254
254
steps :
255
255
- name : Check out code
@@ -282,8 +282,8 @@ jobs:
282
282
run : |
283
283
SF_CONSTRAINT="~${{ matrix.symfony-version }}.0@dev"
284
284
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}" \
287
287
${{ matrix.pkg-extra-constraints }} \
288
288
&& make build
289
289
0 commit comments