@@ -63,27 +63,28 @@ jobs:
6363 symfony-version : ' ${{ needs.fetch-supported-versions.outputs.symfony-max }}'
6464 # Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
6565 pkg-extra-constraints : --with 'behat/gherkin:~4.12.0'
66- - job-name : Up to date versions - Sf 5 .4 case
66+ - job-name : Up to date versions - Sf 6 .4 case
6767 php-version : ' ${{ needs.fetch-supported-versions.outputs.php-max }}'
68- symfony-version : ' 5 .4'
68+ symfony-version : ' 6 .4'
6969 # Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
70- # Fix - symfony/yaml - Avoid issue with Sf YAML 6.4+ and Framework bundle
71- pkg-extra-constraints : --with 'behat/gherkin:~4.12.0' ${{ ( needs.fetch-supported-versions.outputs.symfony-max == '6.4' ) && '--with "symfony/yaml:~6.4.0"' || '' }}
70+ pkg-extra-constraints : --with 'behat/gherkin:~4.12.0'
7271 - job-name : Bare minimum # => Lowest versions allowed by composer config
7372 php-version : ' ${{ needs.fetch-supported-versions.outputs.php-min }}'
7473 symfony-version : ' ${{ needs.fetch-supported-versions.outputs.symfony-min }}'
75- - job-name : Bare minimum - Sf 5.4 case
76- php-version : ' ${{ needs.fetch-supported-versions.outputs.php-min }}'
77- symfony-version : ' 5.4'
78- - job-name : Late PHP migration # => Highest symfony version with lowest php version allowed by composer config
74+ - job-name : Bare minimum - Sf 6.4 case
7975 # Fix - Sf 6.4 require php 8.1 minimum !
80- 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 }}
76+ php-version : ${{ ( needs.fetch-supported-versions.outputs.php-min == '8.0' ) && '8.1' || needs.fetch-supported-versions.outputs.php-min }}
77+ symfony-version : ' 6.4'
78+ - job-name : Late PHP migration # => Highest symfony version with lowest php version allowed by composer config
79+ # Fix - Sf 7.0 require php 8.1 minimum, most of deps require 8.2 !
80+ php-version : ${{ ( needs.fetch-supported-versions.outputs.symfony-max == '7.0' && needs.fetch-supported-versions.outputs.php-min == '8.0' ) && '8.2' || needs.fetch-supported-versions.outputs.php-min }}
8181 symfony-version : ' ${{ needs.fetch-supported-versions.outputs.symfony-max }}'
8282 - job-name : Late Symfony migration # => Lowest symfony version with highest php version allowed by composer config
8383 php-version : ' ${{ needs.fetch-supported-versions.outputs.php-max }}'
8484 symfony-version : ' ${{ needs.fetch-supported-versions.outputs.symfony-min }}'
8585 # Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
86- pkg-extra-constraints : --with 'behat/gherkin:~4.12.0'
86+ # Fix - symfony/yaml => Avoid issue between symfony/yaml and symfony/framework-bundle (not compatible with some versions due to incomplete function signatures)
87+ pkg-extra-constraints : --with 'behat/gherkin:~4.12.0' ${{ ( needs.fetch-supported-versions.outputs.symfony-min == '5.4' && needs.fetch-supported-versions.outputs.php-max == '8.4' ) && '--with "symfony/yaml:~6.4.0"' || '' }}
8788 steps :
8889 - name : Check out code
8990 uses : actions/checkout@v5
@@ -247,20 +248,20 @@ jobs:
247248 php-version : ${{ needs.fetch-supported-versions.outputs.php-next }}
248249 symfony-version : ${{ needs.fetch-supported-versions.outputs.symfony-min }}
249250 # Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
250- pkg-extra-constraints : behat/gherkin:~4.12.0
251+ # Fix - symfony/yaml => Avoid issue between symfony/yaml and symfony/framework-bundle (not compatible with some versions due to incomplete function signatures)
252+ pkg-extra-constraints : behat/gherkin:~4.12.0 ${{ ( needs.fetch-supported-versions.outputs.symfony-min == '5.4' && needs.fetch-supported-versions.outputs.php-next == '8.5' ) && 'symfony/yaml:~6.4.0' || '' }}
251253 - job-name : Symfony with highest supported PHP version
252254 php-version : ${{ needs.fetch-supported-versions.outputs.php-max }}
253255 symfony-version : ${{ needs.fetch-supported-versions.outputs.symfony-next }}
254256 # Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
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-max == '8.4' ) && 'symfony/framework-bundle:~7.0.0@dev' || '' }}
257+ # Fix - symfony/yaml => Avoid issue between symfony/yaml and symfony/ framework-bundle (not compatible with some versions due to incomplete function signatures)
258+ pkg-extra-constraints : behat/gherkin:~4.12.0
257259 - job-name : Symfony with lowest supported PHP version
258- # Fix - Sf 7.0 require php 8.1 minimum, most of deps require 8.2 !
259- 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 }}
260+ # Fix - Sf 7.1 require php 8.2 minimum !
261+ 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 }}
260262 symfony-version : ${{ needs.fetch-supported-versions.outputs.symfony-next }}
261263 # Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
262- # Fix - symfony/framework-bundle - Framework bundle <7.0 require php 8.1 minimum !
263- 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' || '' }}
264+ pkg-extra-constraints : behat/gherkin:~4.12.0
264265
265266 steps :
266267 - name : Check out code
0 commit comments