Skip to content

Commit

Permalink
Configure packages for Symfony 7
Browse files Browse the repository at this point in the history
  • Loading branch information
loic425 committed Jun 3, 2024
1 parent d01dbfb commit 7294562
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 21 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,30 @@ on:
jobs:
tests:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
name: "PHP ${{ matrix.php }}${{ matrix.symfony != '' && format(', Symfony {0}', matrix.symfony) || '' }}${{ matrix.currency-bundle != '' && format(', CurrencyBundle {0}', matrix.currency-bundle) || '' }}${{ matrix.postgres != '' && format(', PostgresSQL {0}', matrix.postgres) || '' }}"
strategy:
fail-fast: false
matrix:
php: ["8.0", "8.1"]
php: ["8.1", "8.2", "8.3"]
postgres: [""]
symfony: ["^5.4", "^6.0"]

symfony: ["^5.4", "^6.4"]
experimental: [false]
include:
-
php: 8.0
php: 8.1
symfony: "^5.4"
postgres: "13.3"
experimental: false
-
php: 8.0
php: 8.1
symfony: "^5.4"
postgres: "14.0"
experimental: false
-
php: 8.3
symfony: "^7.0"
experimental: true
steps:
-
uses: actions/checkout@v2
Expand Down
24 changes: 12 additions & 12 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@
"php": "^8.0",
"sylius-labs/polyfill-symfony-event-dispatcher": "^1.0",
"sylius/registry": "^1.5",
"symfony/config": "^5.4 || ^6.0",
"symfony/dependency-injection": "^5.4 || ^6.0",
"symfony/config": "^5.4 || ^6.4 || ^7.0",
"symfony/dependency-injection": "^5.4 || ^6.4 || ^7.0",
"symfony/deprecation-contracts": "^2.2 || ^3.1",
"symfony/event-dispatcher": "^5.4 || ^6.0",
"symfony/form": "^5.4 || ^6.0",
"symfony/framework-bundle": "^5.4 || ^6.0",
"symfony/http-kernel": "^5.4 || ^6.0",
"symfony/options-resolver": "^5.4 || ^6.0",
"symfony/property-access": "^5.4 || ^6.0",
"symfony/event-dispatcher": "^5.4 || ^6.4 || ^7.0",
"symfony/form": "^5.4 || ^6.4 || ^7.0",
"symfony/framework-bundle": "^5.4 || ^6.4 || ^7.0",
"symfony/http-kernel": "^5.4 || ^6.4 || ^7.0",
"symfony/options-resolver": "^5.4 || ^6.4 || ^7.0",
"symfony/property-access": "^5.4 || ^6.4 || ^7.0",
"webmozart/assert": "^1.9"
},
"replace": {
Expand Down Expand Up @@ -70,12 +70,12 @@
"phpstan/phpstan-webmozart-assert": "^1.2",
"phpunit/phpunit": "^9.5",
"sylius-labs/coding-standard": "^4.0",
"sylius/resource-bundle": "dev-poc-new-resource-metadata",
"symfony/console": "^5.4 || ^6.0",
"symfony/dotenv": "^5.4 || ^6.0",
"sylius/resource-bundle": "dev-symfony-7",
"symfony/console": "^5.4 || ^6.4 || ^7.0",
"symfony/dotenv": "^5.4 || ^6.4 || ^7.0",
"symfony/maker-bundle": "^1.36",
"symfony/polyfill-mbstring": "<1.22.0 || >1.22.0",
"symfony/twig-bundle": "^5.4 || ^6.0",
"symfony/twig-bundle": "^5.4 || ^6.4 || ^7.0",
"twig/extensions": "^1.5",
"twig/twig": "^2.12 || ^3.0",
"vimeo/psalm": "^4.26",
Expand Down
8 changes: 4 additions & 4 deletions src/Component/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@
"php": "^8.0",
"sylius-labs/polyfill-symfony-event-dispatcher": "^1.0",
"sylius/registry": "^1.5",
"symfony/config": "^5.4 || ^6.0",
"symfony/config": "^5.4 || ^6.4 || ^7.0",
"symfony/deprecation-contracts": "^2.2",
"symfony/event-dispatcher": "^5.4 || ^6.0",
"symfony/http-kernel": "^5.4 || ^6.0",
"symfony/event-dispatcher": "^5.4 || ^6.4 || ^7.0",
"symfony/http-kernel": "^5.4 || ^6.4 || ^7.0",
"webmozart/assert": "^1.9"
},
"require-dev": {
"phpspec/phpspec": "^7.2",
"symfony/property-access": "^5.4 || ^6.0"
"symfony/property-access": "^5.4 || ^6.4 || ^7.0"
},
"extra": {
"branch-alias": {
Expand Down

0 comments on commit 7294562

Please sign in to comment.