diff options
Diffstat (limited to '164.patch')
| -rw-r--r-- | 164.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/164.patch b/164.patch new file mode 100644 index 0000000..6e175d0 --- /dev/null +++ b/164.patch @@ -0,0 +1,32 @@ +From bd6e13252fa91a9cabaac51a583e28988fec5fba Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Wed, 21 Jan 2026 08:44:22 +0100 +Subject: [PATCH] don't use report_memleaks with 8.5+ + +--- + .github/workflows/build.yml | 2 +- + PEAR/RunTest.php | 4 +++- + 2 files changed, 4 insertions(+), 2 deletions(-) + +diff --git a/PEAR/RunTest.php b/PEAR/RunTest.php +index dd5bb1c34..cbe504335 100644 +--- a/PEAR/RunTest.php ++++ b/PEAR/RunTest.php +@@ -64,7 +64,6 @@ class PEAR_RunTest + 'display_errors=1', + 'log_errors=0', + 'html_errors=0', +- 'report_memleaks=0', + 'report_zend_debug=0', + 'docref_root=', + 'docref_ext=.html', +@@ -93,6 +92,9 @@ function __construct($logger = null, $options = array()) + $excluded_error_reporting |= E_STRICT; + } + $this->ini_overwrites[] = 'error_reporting=' . (E_ALL & ~$excluded_error_reporting); ++ if (!defined('PHP_VERSION_ID') || PHP_VERSION_ID < 80500) { ++ $this->ini_overwrites[] = 'report_memleaks=0'; ++ } + if (is_null($logger)) { + require_once 'PEAR/Common.php'; + $logger = new PEAR_Common; |
