Skip to content

Commit

Permalink
Remove conflict for Api-Platform with Sylius 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomanhez committed Apr 13, 2021
1 parent 11cfe54 commit e961e2b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,11 @@ jobs:
composer global require --no-progress --no-scripts --no-plugins "symfony/flex:^1.10"
composer config extra.symfony.require "${{ matrix.symfony }}"
-
name: Add Api-Platform conflict
if: matrix.sylius == ~1.8.0
run: composer require "api-platform/core:~2.5" --no-update --no-scripts --no-interaction

-
name: Restrict Sylius version
if: matrix.sylius != ''
Expand Down
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@
}
},
"conflict": {
"symplify/package-builder": "8.3.25",
"api-platform/core": "^2.6"
"symplify/package-builder": "8.3.25"
},
"scripts": {
"analyse": [
Expand Down

0 comments on commit e961e2b

Please sign in to comment.