From 9e2cbaf55541cff805a135673f3bb64f38162554 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Sat, 11 Jun 2022 08:26:39 +0200 Subject: [PATCH] Add support for PHP 8.2 (#586) * Declare that we now support PHP 8.2 * PHP 8.2: test rc instead of stable * Declare initial list of extensions that work with PHP 8.2 --- data/supported-extensions | 184 ++++++++++++++++++------------------- install-php-extensions | 2 +- scripts/ci-test-extensions | 3 + 3 files changed, 96 insertions(+), 93 deletions(-) diff --git a/data/supported-extensions b/data/supported-extensions index 9bb8399..6add410 100644 --- a/data/supported-extensions +++ b/data/supported-extensions @@ -1,124 +1,124 @@ -amqp 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 -apcu 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 +amqp 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 +apcu 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 apcu_bc 7.0 7.1 7.2 7.3 7.4 -ast 7.0 7.1 7.2 7.3 7.4 8.0 8.1 -bcmath 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 +ast 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 +bcmath 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 blackfire 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 -bz2 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 -calendar 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 +bz2 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 +calendar 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 cmark 7.0 7.1 7.2 7.3 7.4 -csv 7.3 7.4 8.0 8.1 -dba 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 -decimal 7.0 7.1 7.2 7.3 7.4 8.0 8.1 -ds 7.0 7.1 7.2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0 8.1 -zephir_parser 7.0 7.1 7.2 7.3 7.4 8.0 8.1 -zip 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 +xlswriter 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 +xmldiff 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 +xmlrpc 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 +xsl 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 +yac 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 +yaml 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 +yar 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 +zephir_parser 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 +zip 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 zookeeper 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 -zstd 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 +zstd 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 diff --git a/install-php-extensions b/install-php-extensions index c885227..bb90065 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -3669,7 +3669,7 @@ esac setPHPVersionVariables setPHPPreinstalledModules case "$PHP_MAJMIN_VERSION" in - 505 | 506 | 700 | 701 | 702 | 703 | 704 | 800 | 801) ;; + 505 | 506 | 700 | 701 | 702 | 703 | 704 | 800 | 801 | 802) ;; *) printf "### ERROR: Unsupported PHP version: %s.%s ###\n" $((PHP_MAJMIN_VERSION / 100)) $((PHP_MAJMIN_VERSION % 100)) ;; diff --git a/scripts/ci-test-extensions b/scripts/ci-test-extensions index da995df..448c401 100755 --- a/scripts/ci-test-extensions +++ b/scripts/ci-test-extensions @@ -153,6 +153,9 @@ getDockerImageName() { return fi case "$2" in + 8.2) + getDockerImageName_version="$2-rc" + ;; *) getDockerImageName_version="$2" ;;