From 4d8148a9cea9b7919a78a4eeede71c51abf3b169 Mon Sep 17 00:00:00 2001 From: thePanz Date: Wed, 13 Mar 2024 17:09:36 +0100 Subject: [PATCH] Update: run php-cs-fixer on PHP v7.4 as min supported version --- .github/workflows/lint.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 60355372d..a2eed5a38 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,17 +15,17 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: 8.2 + php-version: 7.4 tools: php-cs-fixer:3.51, cs2pr - uses: actions/cache@v4 with: path: '.php-cs-fixer.cache' - key: ${{ github.repository }}-8.2-phpcsfixer-${{ github.ref_name }} + key: ${{ github.repository }}-7.4-phpcsfixer-${{ github.ref_name }} restore-keys: | - ${{ github.repository }}-8.2-phpcsfixer-master - ${{ github.repository }}-8.2-phpcsfixer- + ${{ github.repository }}-7.4-phpcsfixer-master + ${{ github.repository }}-7.4-phpcsfixer- - name: Run PHP-CS-Fixer # Using cs2pr settings, see: https://github.com/shivammathur/setup-php#tools-with-checkstyle-support - run: 'php-cs-fixer fix --dry-run --format checkstyle | cs2pr' + run: 'php-cs-fixer fix --dry-run --format=checkstyle | cs2pr'