diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e9e0418..0cc56f5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -51,6 +51,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.17" composer config extra.symfony.require "${{ matrix.symfony }}" diff --git a/composer.json b/composer.json index c9a85e9..bcf5a0e 100644 --- a/composer.json +++ b/composer.json @@ -23,6 +23,12 @@ "phpunit/phpunit": "^9.5", "vimeo/psalm": "^4.23" }, + "config": { + "allow-plugins": { + "symfony/flex": true, + "infection/extension-installer": true + } + }, "autoload": { "psr-4": { "SyliusLabs\\DoctrineMigrationsExtraBundle\\": "src/"