From 1d08aab2b5d6de4ba2a26db19f9ac76d48d84bc7 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Sun, 5 Dec 2021 19:36:50 +0100 Subject: [PATCH] Use the stable version of amqp on PHP 8.0+ (#472) Test: amqp --- MAINTAINERS.md | 5 ----- install-php-extensions | 4 +--- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/MAINTAINERS.md b/MAINTAINERS.md index 93c4aa5..3879fcd 100644 --- a/MAINTAINERS.md +++ b/MAINTAINERS.md @@ -20,11 +20,6 @@ Once that draft release has been created, you have to: ## Extensions to be monitored -### amqp - -For PHP 8+ we currenly install the `amqp` PHP extension with the `beta` stability. -We should switch to `stable` when it will be available. - ### cmark The `cmark` PHP extension requires the `libcmark` system library. diff --git a/install-php-extensions b/install-php-extensions index 5086f6d..13fa66d 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -1983,9 +1983,7 @@ installRemoteModule() { case "$installRemoteModule_module" in amqp) if test -z "$installRemoteModule_version"; then - if test $PHP_MAJMIN_VERSION -ge 800; then - installRemoteModule_version=beta - elif test "$DISTRO_VERSION" = debian@8; then + if test "$DISTRO_VERSION" = debian@8; then # in Debian Jessie we have librabbitmq version 0.5.2 installRemoteModule_version=1.9.3 elif test $PHP_MAJMIN_VERSION -le 505; then