From 00e12a13f12fa0628b66648a53b911aa7d6ad543 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albrecht=20K=C3=B6hnlein?= Date: Wed, 20 Sep 2023 20:49:19 +0200 Subject: [PATCH] Improve CI --- .github/workflows/ci.yml | 2 ++ composer.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0daee6c..7da4851 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,6 +61,8 @@ jobs: composer test:php:lint - name: CGL + # causes some problems in this combination + if: ${{ matrix.composer-versions == 'v2' }} run: | composer cgl diff --git a/composer.json b/composer.json index 9112984..83c7d64 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ }, "require-dev": { "composer/composer": "^1.10 || ^2.0", - "friendsofphp/php-cs-fixer": "^3.0", + "friendsofphp/php-cs-fixer": "^2.16 || ^3.0", "overtrue/phplint": "^2.0", "phpunit/phpunit": "^9.2" },