From 4c9106c8830e6d2450465267916c5936dddc6caa Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 20 Feb 2023 16:44:35 +0100 Subject: fix PHP 8.2 deprecations using patch from https://github.com/pear/pear-core/pull/124 use SPDX license IDs --- pear-php82.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 pear-php82.patch (limited to 'pear-php82.patch') diff --git a/pear-php82.patch b/pear-php82.patch new file mode 100644 index 0000000..a8d6bcb --- /dev/null +++ b/pear-php82.patch @@ -0,0 +1,22 @@ +From 4217e3ea503ba6c0651ea2d182fb9cb88f21ce0b Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Mon, 20 Feb 2023 16:02:34 +0100 +Subject: [PATCH] Fix: Creation of dynamic property PEAR_Error::$callback is + deprecated + +--- + PEAR.php | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/PEAR.php b/PEAR.php +index fee6638f4..6dba3b010 100644 +--- a/PEAR.php ++++ b/PEAR.php +@@ -859,6 +859,7 @@ class PEAR_Error + var $message = ''; + var $userinfo = ''; + var $backtrace = null; ++ var $callback = null; + + /** + * PEAR_Error constructor -- cgit