Skip to content

Commit

Permalink
Configure Symfony Flex to fix the build
Browse files Browse the repository at this point in the history
  • Loading branch information
Zales0123 committed Nov 4, 2022
1 parent 7de8463 commit f869543
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ jobs:
restore-keys: |
${{ runner.os }}-php-${{ matrix.php }}-composer-
-
name: Configure Flex
run: |
composer global config --no-plugins allow-plugins.symfony/flex true
composer global require --no-progress --no-scripts --no-plugins "symfony/flex:^1.10"
-
name: Require EasyCodingStandard version
run: composer require symplify/easy-coding-standard:${{ matrix.ecs }} --no-update --no-scripts
Expand Down
6 changes: 6 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,11 @@
"branch-alias": {
"dev-master": "4.0-dev"
}
},
"config": {
"allow-plugins": {
"symfony/flex": true,
"dealerdirect/phpcodesniffer-composer-installer": false
}
}
}

0 comments on commit f869543

Please sign in to comment.