From 46effe8dc99c536803eb0506b5d6b342724bd904 Mon Sep 17 00:00:00 2001 From: Maciej Malarz Date: Sun, 18 Sep 2022 15:32:55 +0200 Subject: [PATCH] Explicit allow for composer plugins --- .github/workflows/continuous-integration.yml | 2 +- composer.json | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index a0585d36..fcd8e75a 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -89,7 +89,7 @@ jobs: ini-values: "zend.assertions=1" - name: "Globally install symfony/flex" - run: "composer global require --no-progress --no-scripts --no-plugins symfony/flex" + run: "composer global require --no-progress --no-scripts --no-plugins symfony/flex && composer global config --no-plugins allow-plugins.symfony/flex true" - name: "Set minimum-stability to stable in Composer" run: "composer config minimum-stability ${{ matrix.stability }}" diff --git a/composer.json b/composer.json index 989fb4fa..613a98be 100644 --- a/composer.json +++ b/composer.json @@ -61,6 +61,9 @@ } }, "config": { - "sort-packages": true + "sort-packages": true, + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true + } } }