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 2, 2022
1 parent 3e02ad6 commit a0e4c7a
Show file tree
Hide file tree
Showing 2 changed files with 6 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 @@ -34,6 +34,7 @@ jobs:
-
name: Restrict Symfony version
run: |
composer global config --no-plugins allow-plugins.symfony/flex true
composer global require --no-progress --no-scripts --no-plugins "symfony/flex:^1.10"
composer config extra.symfony.require "${{ matrix.symfony }}"
Expand Down
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
"phpunit/phpunit": "^9.5",
"vimeo/psalm": "^4.23"
},
"config": {
"allow-plugins": {
"symfony/flex": true
}
},
"autoload": {
"psr-4": {
"SyliusLabs\\Polyfill\\Symfony\\Security\\": "src/"
Expand Down

0 comments on commit a0e4c7a

Please sign in to comment.