Skip to content

Commit

Permalink
Support Sylius 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandoorn committed Dec 18, 2024
1 parent b8dfe61 commit e24f0e2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,15 @@ jobs:
matrix:
php: ["8.1", "8.2", "8.3"]
symfony: ["^5.4", "^6.4"]
sylius: ["~1.13.0", "~1.14.0"]
sylius: ["~1.13.0", "~1.14.0", "~2.0.0"]
node: ["14.x"]
mysql: ["8.0"]

exclude:
- php: "8.1"
sylius: "~2.0.0"
- symfony: "^5.4"
sylius: "~2.0.0"

env:
APP_ENV: test
DATABASE_URL: "mysql://root:[email protected]/sylius?serverVersion=${{ matrix.mysql }}"
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"require": {
"php": "^7.4 || ^8.1",
"sylius/sylius": "~1.9.0 || ~1.10.0 || ~1.11.0 || ~1.12.0 || ~1.13.0 || ~1.14.0"
"sylius/sylius": "~1.9.0 || ~1.10.0 || ~1.11.0 || ~1.12.0 || ~1.13.0 || ~1.14.0 || ~2.0.0"
},
"require-dev": {
"api-platform/core": "~2.5.0 || ~2.6.0 || ~2.7.0",
Expand All @@ -36,7 +36,7 @@
"symfony/intl": "^4.4 || ^5.4 || ^6.4",
"symfony/runtime": "^4.4 || ^5.4 || ^6.4 || ^7.0",
"symfony/web-profiler-bundle": "^4.4 || ^5.4 || ^6.4",
"symfony/webpack-encore-bundle": "^1.15",
"symfony/webpack-encore-bundle": "^1.15 || ^2.2",
"vimeo/psalm": "4.23.0"
},
"config": {
Expand Down

0 comments on commit e24f0e2

Please sign in to comment.