Skip to content

Commit fffd0ac

Browse files
authored
bug #52 Configure Symfony Flex to fix the build (Zales0123)
This PR was merged into the 4.0-dev branch. Discussion ---------- Commits ------- f869543 Configure Symfony Flex to fix the build
2 parents 7de8463 + f869543 commit fffd0ac

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ jobs:
4848
restore-keys: |
4949
${{ runner.os }}-php-${{ matrix.php }}-composer-
5050
51+
-
52+
name: Configure Flex
53+
run: |
54+
composer global config --no-plugins allow-plugins.symfony/flex true
55+
composer global require --no-progress --no-scripts --no-plugins "symfony/flex:^1.10"
56+
5157
-
5258
name: Require EasyCodingStandard version
5359
run: composer require symplify/easy-coding-standard:${{ matrix.ecs }} --no-update --no-scripts

composer.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,11 @@
2626
"branch-alias": {
2727
"dev-master": "4.0-dev"
2828
}
29+
},
30+
"config": {
31+
"allow-plugins": {
32+
"symfony/flex": true,
33+
"dealerdirect/phpcodesniffer-composer-installer": false
34+
}
2935
}
3036
}

0 commit comments

Comments
 (0)