Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions scripts/pearcmd.php
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,13 @@ function usage($error = null, $helpsubject = null)
"Type \"$progname help <command>\" to get the help ".
"for the specified command.";
}
if (PEAR_RUNTYPE === 'pecl'
&& version_compare(PHP_VERSION, '8.1') > 0
&& in_array($helpsubject, array(null, 'download', 'install', 'upgrade', 'upgrade-all'))) {
$put .=
"\nNotice: PECL is now deprecated. " .
"PHP Installer for Extensions (PIE) is the replacement for PECL.";
}
fputs($stdout, "$put\n");
fclose($stdout);

Expand Down
Loading