From 8d745640c51a953d544871f425a36e951edc644a Mon Sep 17 00:00:00 2001 From: Finn Lewis Date: Mon, 16 Oct 2023 12:48:38 +0100 Subject: [PATCH 1/2] Fix PHP 8.2 deprecation notices --- composer.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/composer.json b/composer.json index 95b3ebb..90f581d 100644 --- a/composer.json +++ b/composer.json @@ -54,6 +54,9 @@ "drupal/core": "-p2" }, "patches": { + "drupal/content_lock": { + "Fix PHP 8.2 deprecation notices": "https://www.drupal.org/files/issues/2023-05-22/3343964-5.patch" + }, "drupal/core": { "Users can't reference unpublished content even when they have access to it. See https://www.drupal.org/project/drupal/issues/2845144": "https://www.drupal.org/files/issues/2022-06-17/2845144-67.patch" } From a703718cf16cacd801ae90cd5df06c2ecee04b35 Mon Sep 17 00:00:00 2001 From: Finn Lewis Date: Mon, 16 Oct 2023 12:51:50 +0100 Subject: [PATCH 2/2] Test against PHP 8.2. --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9b05047..00bef50 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,6 +30,7 @@ jobs: - '~10.0' php-version: - '8.1' + - '8.2' steps: @@ -113,6 +114,7 @@ jobs: - '~10.0' php-version: - '8.1' + - '8.2' steps: @@ -148,6 +150,7 @@ jobs: - '~10.0' php-version: - '8.1' + - '8.2' steps: @@ -182,6 +185,7 @@ jobs: - '~10.0' php-version: - '8.1' + - '8.2' steps: