From ca70e73c90e121b4f448a5dc102092215a04467c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 15 Apr 2026 11:11:15 +0200 Subject: [PATCH] add message about PECL deprecated by PIE --- scripts/pearcmd.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/pearcmd.php b/scripts/pearcmd.php index 290435333..4203a638d 100644 --- a/scripts/pearcmd.php +++ b/scripts/pearcmd.php @@ -360,6 +360,11 @@ function usage($error = null, $helpsubject = null) "Type \"$progname help \" to get the help ". "for the specified command."; } + if (PEAR_RUNTYPE === 'pecl'&& in_array($helpsubject, array(null, 'install', 'upgrade'))) { + $put .= + "\nNotice: PECL is now deprecated. " . + "PHP Installer for Extensions (PIE) is the replacement for PECL."; + } fputs($stdout, "$put\n"); fclose($stdout);