@@ -63,26 +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)
7070 pkg-extra-constraints : --with 'behat/gherkin:~4.12.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 }}'
74- - job-name : Bare minimum - Sf 5.4 case
75- php-version : ' ${{ needs.fetch-supported-versions.outputs.php-min }}'
76- symfony-version : ' 5.4'
77- - 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
7875 # 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 }}
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 }}
8081 symfony-version : ' ${{ needs.fetch-supported-versions.outputs.symfony-max }}'
8182 - job-name : Late Symfony migration # => Lowest symfony version with highest php version allowed by composer config
8283 php-version : ' ${{ needs.fetch-supported-versions.outputs.php-max }}'
8384 symfony-version : ' ${{ needs.fetch-supported-versions.outputs.symfony-min }}'
8485 # Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
85- 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"' || '' }}
8688 steps :
8789 - name : Check out code
8890 uses : actions/checkout@v5
@@ -248,20 +250,19 @@ jobs:
248250 php-version : ${{ needs.fetch-supported-versions.outputs.php-next }}
249251 symfony-version : ${{ needs.fetch-supported-versions.outputs.symfony-min }}
250252 # Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
251- pkg-extra-constraints : behat/gherkin:~4.12.0
253+ # Fix - symfony/yaml => Avoid issue between symfony/yaml and symfony/framework-bundle (not compatible with some versions due to incomplete function signatures)
254+ 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' || '' }}
252255 - job-name : Symfony with highest supported PHP version
253256 php-version : ${{ needs.fetch-supported-versions.outputs.php-max }}
254257 symfony-version : ${{ needs.fetch-supported-versions.outputs.symfony-next }}
255258 # Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
256- # Fix - symfony/framework-bundle - Framework bundle <7.0 require php 8.1 minimum !
257- 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' || '' }}
259+ pkg-extra-constraints : behat/gherkin:~4.12.0
258260 - job-name : Symfony with lowest supported PHP version
259- # Fix - Sf 7.0 require php 8.1 minimum, most of deps require 8.2 !
260- 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 }}
261+ # Fix - Sf 7.1 require php 8.2 minimum !
262+ 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 }}
261263 symfony-version : ${{ needs.fetch-supported-versions.outputs.symfony-next }}
262264 # Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
263- # Fix - symfony/framework-bundle - Framework bundle <7.0 require php 8.1 minimum !
264- 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' || '' }}
265+ pkg-extra-constraints : behat/gherkin:~4.12.0
265266
266267 steps :
267268 - name : Check out code
0 commit comments