From b1923f5a74065ffa4a35b5808f10b9ed5e91f63e Mon Sep 17 00:00:00 2001 From: KoKsPfLaNzE Date: Thu, 1 Dec 2022 23:33:03 +0100 Subject: [PATCH 1/2] add php82 support --- .github/workflows/ci.yaml | 6 ++++++ composer.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 000de73..c0b0aaa 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -27,6 +27,12 @@ jobs: - php-version: 8.1 dependencies: "--prefer-lowest --prefer-stable" test_coverage: "no" + - php-version: 8.2 + dependencies: "--prefer-stable" + test_coverage: "no" + - php-version: 8.2 + dependencies: "--prefer-lowest --prefer-stable" + test_coverage: "no" steps: - name: Setup PHP diff --git a/composer.json b/composer.json index 0e9a0ae..7051f0c 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "php": "^7.2 || ~8.0.0 || ~8.1.0", + "php": "^7.2 || ~8.0.0 || ~8.1.0 || ~8.2.0", "ext-intl": "*", "laminas/laminas-eventmanager": "^3.1", "laminas/laminas-http": "^2.7", From 9f51e03211b01a3655ccc830305f1a70555a2375 Mon Sep 17 00:00:00 2001 From: KoKsPfLaNzE Date: Thu, 1 Dec 2022 23:41:27 +0100 Subject: [PATCH 2/2] ignore PHP Version in CS --- .github/workflows/ci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c0b0aaa..5792280 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -50,6 +50,8 @@ jobs: - name: Run php-cs-fixer run: composer cs-check + env: + PHP_CS_FIXER_IGNORE_ENV: true - name: Run tests (without coverage) if: ${{ matrix.test_coverage == 'no' }}