Skip to content

Commit

Permalink
[Maintenance] Configure global flex and plugin to fix the build
Browse files Browse the repository at this point in the history
  • Loading branch information
coldic3 committed Sep 5, 2022
1 parent 3e0c532 commit 37154c8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
- name: Restrict Symfony version
if: matrix.symfony != ''
run: |
composer global config --no-plugins allow-plugins.symfony/flex true
composer global require --no-progress --no-scripts --no-plugins "symfony/flex:^1.17"
composer config extra.symfony.require "${{ matrix.symfony }}"
Expand Down
6 changes: 6 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
"phpunit/phpunit": "^9.5",
"vimeo/psalm": "^4.23"
},
"config": {
"allow-plugins": {
"symfony/flex": true,
"infection/extension-installer": true
}
},
"autoload": {
"psr-4": {
"SyliusLabs\\DoctrineMigrationsExtraBundle\\": "src/"
Expand Down

0 comments on commit 37154c8

Please sign in to comment.