From c3a40900ef097c1f5d34594c9cfac885ebc50d2d Mon Sep 17 00:00:00 2001 From: Mateusz Zalewski Date: Tue, 6 Sep 2022 12:42:33 +0200 Subject: [PATCH] Enable flex in global composer to fix the build --- .github/workflows/build.yml | 1 + composer.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4b0647a..5d8da9d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,6 +36,7 @@ jobs: name: Restrict Symfony version if: matrix.symfony != '' 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 }}" (cd src/Component && composer config extra.symfony.require "${{ matrix.symfony }}") diff --git a/composer.json b/composer.json index 6b9d523..acf67e3 100644 --- a/composer.json +++ b/composer.json @@ -61,7 +61,8 @@ }, "config": { "allow-plugins": { - "symfony/flex": true + "symfony/flex": true, + "dealerdirect/phpcodesniffer-composer-installer": false } }, "autoload": {