From 1a87cf18731cca284451058efba22959b47f196e Mon Sep 17 00:00:00 2001 From: Jan Goralski Date: Fri, 2 Sep 2022 15:02:43 +0200 Subject: [PATCH] [Maintenance] Allow Symfony Flex plugin --- .github/workflows/build.yml | 1 + composer.json | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f7883cf..beea20a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,6 +34,7 @@ jobs: - name: Restrict Symfony version run: | + composer global config --no-plugins allow-plugins.symfony/flex true composer global require --no-progress --no-scripts --no-plugins "symfony/flex:^1.17.1" composer config extra.symfony.require "${{ matrix.symfony }}" diff --git a/composer.json b/composer.json index d732d6b..c1aaa70 100644 --- a/composer.json +++ b/composer.json @@ -31,6 +31,11 @@ "Tests\\SyliusLabs\\Polyfill\\Symfony\\FrameworkBundle\\": "tests/" } }, + "config": { + "allow-plugins": { + "symfony/flex": true + } + }, "scripts": { "analyse": [ "vendor/bin/psalm"