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" },