From a1c5c3c2e2775b1640bfe7dd032ffe26411eac69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20Hansl=C3=ADk?= Date: Sat, 23 Nov 2024 00:19:44 +0100 Subject: [PATCH] Run checks on PHP 8.4 --- .github/workflows/continuous-integration.yml | 12 ++++++++---- composer.json | 2 +- composer.lock | 4 ++-- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 5ab7a9b38..d7ecd58b0 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -24,6 +24,7 @@ jobs: php-version: - "8.2" - "8.3" + - "8.4" operating-system: - "ubuntu-latest" - "windows-latest" @@ -67,6 +68,7 @@ jobs: php-version: - "8.2" - "8.3" + - "8.4" operating-system: - "ubuntu-latest" @@ -107,6 +109,7 @@ jobs: dependencies: - "locked" php-version: + # Throws deprecated errors on 8.4 - "8.3" operating-system: - "ubuntu-latest" @@ -148,6 +151,7 @@ jobs: dependencies: - "locked" php-version: + # Does not work on 8.4 - "8.3" operating-system: - "ubuntu-latest" @@ -192,7 +196,7 @@ jobs: dependencies: - "locked" php-version: - - "8.3" + - "8.4" operating-system: - "ubuntu-latest" - "windows-latest" @@ -234,7 +238,7 @@ jobs: dependencies: - "locked" php-version: - - "8.3" + - "8.4" operating-system: - "ubuntu-latest" @@ -268,7 +272,7 @@ jobs: dependencies: - "locked" php-version: - - "8.3" + - "8.4" operating-system: - "ubuntu-latest" - "windows-latest" @@ -347,7 +351,7 @@ jobs: dependencies: - "locked" php-version: - - "8.3" + - "8.4" operating-system: - "ubuntu-latest" diff --git a/composer.json b/composer.json index cec0cb8d0..7e4f742aa 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "Better Reflection - an improved code reflection API", "license": "MIT", "require": { - "php": "~8.2.0 || ~8.3.2", + "php": "~8.2.0 || ~8.3.2 || ~8.4.1", "ext-json": "*", "jetbrains/phpstorm-stubs": "2024.2", "nikic/php-parser": "^5.3.1" diff --git a/composer.lock b/composer.lock index 8d3a66ae3..e2c064551 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "51f69226dac86a1c51783cb2205bf72e", + "content-hash": "b4ed745f3892bdbce0cbfeb5e100340a", "packages": [ { "name": "jetbrains/phpstorm-stubs", @@ -3220,7 +3220,7 @@ "prefer-stable": true, "prefer-lowest": false, "platform": { - "php": "~8.2.0 || ~8.3.2", + "php": "~8.2.0 || ~8.3.2 || ~8.4.1", "ext-json": "*" }, "platform-dev": {},