From 9451c6c4ca22d0ffb1cf1cb8e09d5c78cc25b87f Mon Sep 17 00:00:00 2001 From: Bart Kuenen Date: Fri, 10 Nov 2023 10:02:13 +0100 Subject: [PATCH 1/2] add support for php 8.3 --- .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 b3321c1..819b3e0 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.2 + php-version: 8.3 - name: Get Composer cache cirectory id: composer-cache diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index a59409e..8cde1c0 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -10,7 +10,7 @@ jobs: strategy: fail-fast: false matrix: - php: [8.2, 8.1, 8.0, 7.4, 7.3] + php: [7.3, 7.4, 8.0, 8.1, 8.2, 8.3] dependency-version: [prefer-lowest, prefer-stable] name: PHP ${{ matrix.php }} - ${{ matrix.dependency-version }} diff --git a/composer.json b/composer.json index fd515a2..893723c 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ } ], "require": { - "php": "^7.3|^7.4|^8.0|^8.1|^8.2" + "php": "^7.3|^7.4|^8.0|^8.1|^8.2|^8.3" }, "require-dev": { "adamwojs/php-cs-fixer-phpdoc-force-fqcn": "^2.0", From adf7795749413f7f4c8681d822da4453f2ca72d8 Mon Sep 17 00:00:00 2001 From: Bart Kuenen Date: Wed, 13 Dec 2023 11:47:03 +0100 Subject: [PATCH 2/2] remove linter ignore env flag --- .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 819b3e0..c24be37 100644 --- a/.github/workflows/run-linting.yml +++ b/.github/workflows/run-linting.yml @@ -39,5 +39,5 @@ jobs: - name: Execute linting run: | - PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix --dry-run + vendor/bin/php-cs-fixer fix --dry-run vendor/bin/phpcs --colors --report-full