From fd8265bc971ed01e691943191625693882fd59e1 Mon Sep 17 00:00:00 2001 From: Mateusz Zalewski Date: Fri, 4 Nov 2022 14:22:46 +0100 Subject: [PATCH] Configure Symfony Flex to fix the build --- .github/workflows/build.yml | 6 ++++++ composer.json | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e787a71..f77d394 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/composer.json b/composer.json index c3fc79b..c1bb527 100644 --- a/composer.json +++ b/composer.json @@ -26,5 +26,11 @@ "branch-alias": { "dev-master": "4.0-dev" } + }, + "config": { + "allow-plugins": { + "symfony/flex": true, + "dealerdirect/phpcodesniffer-composer-installer": false + } } }