From 35849117283d1269b20fa95e8035879f4261c391 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Wed, 24 Jul 2024 18:05:20 +0545 Subject: [PATCH 1/3] chore: add PHP 8.4 to CI --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 690ec0e..e35f0cb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - php-versions: ['8.0', '8.1', '8.2', '8.3'] + php-versions: ['8.0', '8.1', '8.2', '8.3', '8.4'] coverage: ['pcov'] code-analysis: ['no'] include: From 9c556f7888460d9cb844824598e75cd084ff6fc8 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Wed, 24 Jul 2024 18:09:55 +0545 Subject: [PATCH 2/3] chore: also run analysis tools for PHP 8.4 --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e35f0cb..90ea5c6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,13 +12,16 @@ jobs: strategy: fail-fast: false matrix: - php-versions: ['8.0', '8.1', '8.2', '8.3', '8.4'] + php-versions: ['8.0', '8.1', '8.2', '8.3'] coverage: ['pcov'] code-analysis: ['no'] include: - php-versions: '7.4' coverage: 'none' code-analysis: 'yes' + - php-versions: '8.4' + coverage: 'pcov' + code-analysis: 'yes' steps: - name: Checkout uses: actions/checkout@v4 From fd602f91f044f9305f4f8d047e5270bc457d0c79 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Wed, 24 Jul 2024 18:16:00 +0545 Subject: [PATCH 3/3] chore: run cs-fixer regardless of PHP version --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 90ea5c6..7ff7dd1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,7 +52,7 @@ jobs: - name: Code Analysis (PHP CS-Fixer) if: matrix.code-analysis == 'yes' - run: php vendor/bin/php-cs-fixer fix --dry-run --diff + run: PHP_CS_FIXER_IGNORE_ENV=true php vendor/bin/php-cs-fixer fix --dry-run --diff - name: Code Analysis (PHPStan) if: matrix.code-analysis == 'yes'