From 1fd43fb071b412b0f9543a33ac6817b674866ccd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gu=CC=88nther=20Debrauwer?= Date: Thu, 12 Dec 2024 19:50:55 +0100 Subject: [PATCH 1/2] Add PHP 8.4 support --- .github/workflows/run-linting.yml | 2 +- .github/workflows/run-tests.yml | 2 +- composer.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-linting.yml b/.github/workflows/run-linting.yml index c24be37..ec928db 100644 --- a/.github/workflows/run-linting.yml +++ b/.github/workflows/run-linting.yml @@ -18,7 +18,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: 8.3 + php-version: 8.4 - name: Get Composer cache cirectory id: composer-cache diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 8cde1c0..ea6ba7c 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -10,7 +10,7 @@ jobs: strategy: fail-fast: false matrix: - php: [7.3, 7.4, 8.0, 8.1, 8.2, 8.3] + php: [7.3, 7.4, 8.0, 8.1, 8.2, 8.3, 8.4] dependency-version: [prefer-lowest, prefer-stable] name: PHP ${{ matrix.php }} - ${{ matrix.dependency-version }} diff --git a/composer.json b/composer.json index daca3a1..937279d 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ } ], "require": { - "php": "^7.3|^7.4|^8.0|^8.1|^8.2|^8.3" + "php": "^7.3|^7.4|^8.0|^8.1|^8.2|^8.3|^8.4" }, "require-dev": { "adamwojs/php-cs-fixer-phpdoc-force-fqcn": "^2.0", From ae89ccf7a7bb611c41c6ca49f776d051d651f656 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gu=CC=88nther=20Debrauwer?= Date: Thu, 12 Dec 2024 19:53:17 +0100 Subject: [PATCH 2/2] Fix linting --- .github/workflows/run-linting.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-linting.yml b/.github/workflows/run-linting.yml index ec928db..eda95b6 100644 --- a/.github/workflows/run-linting.yml +++ b/.github/workflows/run-linting.yml @@ -39,5 +39,5 @@ jobs: - name: Execute linting run: | - vendor/bin/php-cs-fixer fix --dry-run + PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix --dry-run vendor/bin/phpcs --colors --report-full