Skip to content

Commit e98aa7e

Browse files
committed
Fix
1 parent ba52cf4 commit e98aa7e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/reusable-CI-workflow.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,13 +245,15 @@ jobs:
245245
php-version: ${{ needs.fetch-supported-versions.outputs.php-max }}
246246
symfony-version: ${{ needs.fetch-supported-versions.outputs.symfony-next }}
247247
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
248-
pkg-extra-constraints: behat/gherkin:~4.12.0
248+
# Fix - symfony/framework-bundle - Framework bundle <7.0 require php 8.1 minimum !
249+
pkg-extra-constraints: behat/gherkin:~4.12.0 ${{ ( needs.fetch-supported-versions.outputs.symfony-next == '7.0' && needs.fetch-supported-versions.outputs.php-max == '8.4' ) && 'symfony/framework-bundle:~7.0.0@dev' || '' }}
249250
- job-name: Symfony - With lowest supported PHP version
250251
# Fix - Sf 7.0 require php 8.1 minimum, most of deps require 8.2 !
251252
php-version: ${{ ( needs.fetch-supported-versions.outputs.symfony-next == '7.0' && needs.fetch-supported-versions.outputs.php-min == '8.0' ) && '8.2' || needs.fetch-supported-versions.outputs.php-min }}
252253
symfony-version: ${{ needs.fetch-supported-versions.outputs.symfony-next }}
253254
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
254-
pkg-extra-constraints: behat/gherkin:~4.12.0
255+
# Fix - symfony/framework-bundle - Framework bundle <7.0 require php 8.1 minimum !
256+
pkg-extra-constraints: behat/gherkin:~4.12.0 ${{ ( needs.fetch-supported-versions.outputs.symfony-next == '7.0' && needs.fetch-supported-versions.outputs.php-min == '8.0' ) && 'symfony/framework-bundle:~7.0.0@dev' || '' }}
255257

256258
steps:
257259
- name: Check out code

0 commit comments

Comments
 (0)