summaryrefslogtreecommitdiffstats
path: root/pear-php82.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-02-20 16:44:35 +0100
committerRemi Collet <remi@php.net>2023-02-20 16:44:35 +0100
commit4c9106c8830e6d2450465267916c5936dddc6caa (patch)
tree82da29f1809977d20e9b0aafefe11537feacf242 /pear-php82.patch
parent2d55f92d6ee06637a1fd18db7bc66137d9dbee05 (diff)
fix PHP 8.2 deprecations using patch from
https://github.com/pear/pear-core/pull/124 use SPDX license IDs
Diffstat (limited to 'pear-php82.patch')
-rw-r--r--pear-php82.patch22
1 files changed, 22 insertions, 0 deletions
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 <remi@remirepo.net>
+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