From a0e4c7ab1207e0bd3e1b816963b03728690405dd Mon Sep 17 00:00:00 2001 From: Kevin Kaniaburka Date: Fri, 2 Sep 2022 15:00:44 +0200 Subject: [PATCH] [Maintenance] Configure global flex and plugin to fix the build --- .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 44ec8f3..c041586 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.10" composer config extra.symfony.require "${{ matrix.symfony }}" diff --git a/composer.json b/composer.json index b18c483..754b483 100644 --- a/composer.json +++ b/composer.json @@ -23,6 +23,11 @@ "phpunit/phpunit": "^9.5", "vimeo/psalm": "^4.23" }, + "config": { + "allow-plugins": { + "symfony/flex": true + } + }, "autoload": { "psr-4": { "SyliusLabs\\Polyfill\\Symfony\\Security\\": "src/"