diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e6aa29df..da8639e7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -87,7 +87,9 @@ jobs: name: Restrict Symfony version if: matrix.symfony != '' run: | - composer global require --no-progress --no-scripts --no-plugins "symfony/flex:^1.10" + composer global config --no-plugins allow-plugins.symfony/flex true + composer global require --no-progress --no-scripts --no-plugins "symfony/flex:1.18.5" + composer config --no-plugins allow-plugins.symfony/thanks true composer config extra.symfony.require "${{ matrix.symfony }}" - diff --git a/composer.json b/composer.json index a9a86fd1..858e04b4 100644 --- a/composer.json +++ b/composer.json @@ -46,7 +46,7 @@ "conflict": { "symfony/doctrine-bridge": "4.4.16", "doctrine/doctrine-bundle": "2.3.0", - "doctrine/orm": "^2.10.0", + "doctrine/dbal": "^3.0.0", "sylius/invoicing-plugin": "<0.16.0" }, "autoload": { @@ -58,6 +58,13 @@ "autoload-dev": { "classmap": ["tests/Application/Kernel.php"] }, + "config": { + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": false, + "ocramius/package-versions": false, + "symfony/flex": true + } + }, "extra": { "branch-alias": { "dev-master": "1.0-dev"