Use the stable version of amqp on PHP 8.0+ (#472)

Test: amqp
pull/473/head 1.4.5
Michele Locati 2021-12-05 19:36:50 +01:00 committed by GitHub
parent 0e03a8f045
commit 1d08aab2b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 8 deletions

View File

@ -20,11 +20,6 @@ Once that draft release has been created, you have to:
## Extensions to be monitored ## 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 ### cmark
The `cmark` PHP extension requires the `libcmark` system library. The `cmark` PHP extension requires the `libcmark` system library.

View File

@ -1983,9 +1983,7 @@ installRemoteModule() {
case "$installRemoteModule_module" in case "$installRemoteModule_module" in
amqp) amqp)
if test -z "$installRemoteModule_version"; then if test -z "$installRemoteModule_version"; then
if test $PHP_MAJMIN_VERSION -ge 800; then if test "$DISTRO_VERSION" = debian@8; then
installRemoteModule_version=beta
elif test "$DISTRO_VERSION" = debian@8; then
# in Debian Jessie we have librabbitmq version 0.5.2 # in Debian Jessie we have librabbitmq version 0.5.2
installRemoteModule_version=1.9.3 installRemoteModule_version=1.9.3
elif test $PHP_MAJMIN_VERSION -le 505; then elif test $PHP_MAJMIN_VERSION -le 505; then