Skip to content

Commit d18f050

Browse files
authored
bug #5 Open [Maintenance] Configure global flex and plugin to fix the build (coldic3)
This PR was merged into the 1.1-dev branch. Discussion ---------- Commits ------- a0e4c7a [Maintenance] Configure global flex and plugin to fix the build
2 parents 3e02ad6 + a0e4c7a commit d18f050

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
-
3535
name: Restrict Symfony version
3636
run: |
37+
composer global config --no-plugins allow-plugins.symfony/flex true
3738
composer global require --no-progress --no-scripts --no-plugins "symfony/flex:^1.10"
3839
composer config extra.symfony.require "${{ matrix.symfony }}"
3940

composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@
2323
"phpunit/phpunit": "^9.5",
2424
"vimeo/psalm": "^4.23"
2525
},
26+
"config": {
27+
"allow-plugins": {
28+
"symfony/flex": true
29+
}
30+
},
2631
"autoload": {
2732
"psr-4": {
2833
"SyliusLabs\\Polyfill\\Symfony\\Security\\": "src/"

0 commit comments

Comments
 (0)