@@ -67,15 +67,16 @@ jobs:
6767 symfony-version : ' 5.4'
6868 # # Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
6969 # Fix - symfony/yaml - Avoid issue with Sf YAML 6.4+ and Framework bundle
70- pkg-extra-constraints : behat/gherkin:~4.12.0 symfony/yaml:~6.4.0
70+ pkg-extra-constraints : behat/gherkin:~4.12.0 ${{ ( needs.fetch-supported-versions.outputs. symfony-max == '6.4' ) && 'symfony /yaml:~6.4.0' || '' }}
7171 - job-name : Bare minimum # => Lowest versions allowed by composer config
7272 php-version : ' ${{ needs.fetch-supported-versions.outputs.php-min }}'
7373 symfony-version : ' ${{ needs.fetch-supported-versions.outputs.symfony-min }}'
7474 - job-name : Bare minimum - Special case - Symfony 5.4
7575 php-version : ' ${{ needs.fetch-supported-versions.outputs.php-min }}'
7676 symfony-version : ' 5.4'
7777 - job-name : Late migration - PHP # => Highest symfony version with lowest php version allowed by composer config
78- php-version : ${{ ( needs.fetch-supported-versions.outputs.symfony-max == '6.4' && needs.fetch-supported-versions.outputs.php-min == '8.0' ) && '8.1' || needs.fetch-supported-versions.outputs.php-min }} # Fix - Sf 6.4 require php 8.1 minimum !
78+ # Fix - Sf 6.4 require php 8.1 minimum !
79+ php-version : ${{ ( needs.fetch-supported-versions.outputs.symfony-max == '6.4' && needs.fetch-supported-versions.outputs.php-min == '8.0' ) && '8.1' || needs.fetch-supported-versions.outputs.php-min }}
7980 symfony-version : ' ${{ needs.fetch-supported-versions.outputs.symfony-max }}'
8081 - job-name : Late migration - Symfony # => Lowest symfony version with highest php version allowed by composer config
8182 php-version : ' ${{ needs.fetch-supported-versions.outputs.php-max }}'
@@ -244,13 +245,15 @@ jobs:
244245 php-version : ${{ needs.fetch-supported-versions.outputs.php-max }}
245246 symfony-version : ${{ needs.fetch-supported-versions.outputs.symfony-next }}
246247 # Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
247- 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' || '' }}
248250 - job-name : Symfony - With lowest supported PHP version
249251 # Fix - Sf 7.0 require php 8.1 minimum, most of deps require 8.2 !
250- php-version : ${{ ( needs.fetch-supported-versions.outputs.symfony-next == '6.3 ' && needs.fetch-supported-versions.outputs.php-min == '8.0' ) && '8.1 ' || needs.fetch-supported-versions.outputs.php-min }}
252+ 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 }}
251253 symfony-version : ${{ needs.fetch-supported-versions.outputs.symfony-next }}
254+ # Fix - symfony/framework-bundle - Framework bundle <7.0 require php 8.1 minimum !
252255 # Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
253- pkg-extra-constraints : behat/gherkin:~4.12.0
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' || '' }}
254257
255258 steps :
256259 - name : Check out code
0 commit comments