Skip to content

Commit bdc68fd

Browse files
committed
[BC] Add sf 7.0 and drop 4.4
1 parent 5dc3c27 commit bdc68fd

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -63,21 +63,21 @@ 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 }}'
@@ -250,8 +250,8 @@ jobs:
250250
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
251251
pkg-extra-constraints: behat/gherkin:~4.12.0
252252
- job-name: Symfony with lowest supported PHP version
253-
# Fix - Sf 7.0 require php 8.1 minimum, most of deps require 8.2 !
254-
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 }}
253+
# Fix - symfony/validator 7.1 require php 8.2 minimum !
254+
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 }}
255255
symfony-version: ${{ needs.fetch-supported-versions.outputs.symfony-next }}
256256
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
257257
pkg-extra-constraints: behat/gherkin:~4.12.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"php": {"min": "8.0", "max": "8.4", "next": "8.5"},
3-
"symfony": {"min": "4.4", "max": "6.4", "next": "7.0"}
3+
"symfony": {"min": "5.4", "max": "7.0", "next": "7.1"}
44
}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
},
3232
"require": {
3333
"php": "^8.0",
34-
"symfony/validator": "^4.4 || ^5.4 || ^6.0",
34+
"symfony/validator": "^5.4 || ^6.4 || ^7.0",
3535
"yoanm/jsonrpc-server-doc-sdk": "^1.0"
3636
},
3737
"require-dev": {

0 commit comments

Comments
 (0)