From adb4674e2680a5fad0535ca83769de58f34de7a1 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Tue, 15 Oct 2024 11:08:13 +0200 Subject: [PATCH] Add support for psr (#993) --- data/supported-extensions | 1 + install-php-extensions | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/data/supported-extensions b/data/supported-extensions index 6238779..4c48d5e 100644 --- a/data/supported-extensions +++ b/data/supported-extensions @@ -88,6 +88,7 @@ pq 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 propro 5.5 5.6 7.0 7.1 7.2 7.3 7.4 protobuf 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 pspell 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 +psr 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 pthreads 5.5 5.6 7.0 raphf 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 rdkafka 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 diff --git a/install-php-extensions b/install-php-extensions index edfac2d..d832787 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -3673,6 +3673,17 @@ installRemoteModule() { fi fi ;; + psr) + if test -z "$installRemoteModule_version"; then + if test $PHP_MAJMIN_VERSION -lt 506; then + installRemoteModule_version=0.5.1 + elif test $PHP_MAJMIN_VERSION -lt 700; then + installRemoteModule_version=0.6.1 + elif test $PHP_MAJMIN_VERSION -lt 703; then + installRemoteModule_version=1.1.0 + fi + fi + ;; pthreads) if test -z "$installRemoteModule_version"; then if test $PHP_MAJMIN_VERSION -le 506; then