From 65806884b03da413125719bcd88e18ede0c8447f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Paris?= Date: Tue, 8 Oct 2024 17:02:40 +0200 Subject: [PATCH 1/2] Add CI job for PHP 8.4 For now doctrine/common generates proxies that trigger deprecation, so let us only test with lazy ghosts only. --- .github/workflows/continuous-integration.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index c6c3cb752a..e5e887a583 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -40,6 +40,7 @@ jobs: - "8.1" - "8.2" - "8.3" + - "8.4" dbal-version: - "default" extension: @@ -113,6 +114,7 @@ jobs: php-version: - "8.2" - "8.3" + - "8.4" dbal-version: - "default" - "3@dev" @@ -186,6 +188,7 @@ jobs: php-version: - "8.2" - "8.3" + - "8.4" dbal-version: - "default" - "3@dev" @@ -256,6 +259,7 @@ jobs: php-version: - "8.2" - "8.3" + - "8.4" dbal-version: - "default" - "3@dev" From 08328adc6c74a17ce8f0f2243ab13a131c35ffd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Paris?= Date: Tue, 8 Oct 2024 17:27:18 +0200 Subject: [PATCH 2/2] Use E_ALL instead of E_ALL | E_STRICT E_STRICT is deprecated as of PHP 8.4 --- tests/Tests/TestInit.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/Tests/TestInit.php b/tests/Tests/TestInit.php index eb2db60674..5b8ec4048f 100644 --- a/tests/Tests/TestInit.php +++ b/tests/Tests/TestInit.php @@ -16,9 +16,8 @@ use function mkdir; use const E_ALL; -use const E_STRICT; -error_reporting(E_ALL | E_STRICT); +error_reporting(E_ALL); date_default_timezone_set('UTC'); if (file_exists(__DIR__ . '/../../vendor/autoload.php')) {