Skip to content

Commit

Permalink
Can install PHP-CS-Fixer 2.17 with PHP 8
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerKiKi committed Dec 8, 2020
1 parent d24e287 commit 21049c1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,9 @@ jobs:
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-

- name: Update dependencies
- name: Remove lock for PHP 8
if: matrix.php-version == '8.0'
run: |
rm composer.lock
composer remove --dev --no-update friendsofphp/php-cs-fixer
run: rm composer.lock

- name: Install dependencies
run: composer install
Expand Down

0 comments on commit 21049c1

Please sign in to comment.