From c0318556dcfca00d0a5d156ac9e67f59ab079d84 Mon Sep 17 00:00:00 2001 From: Chingis Sandanov Date: Wed, 4 Dec 2024 13:20:08 +0300 Subject: [PATCH] Update pcov to 1.0.12, add to PHP 8.4 --- 8/Dockerfile | 4 ++-- 8/docker-entrypoint.sh | 2 +- 8/tests/php_modules/8.4 | 1 + README.md | 6 +++--- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/8/Dockerfile b/8/Dockerfile index a12ebce..987d0eb 100644 --- a/8/Dockerfile +++ b/8/Dockerfile @@ -250,7 +250,7 @@ RUN set -xe; \ oauth-2.0.9 \ opentelemetry-1.1.0 \ pdo_sqlsrv-5.12.0 \ - $(test "${PHP_VERSION:0:3}" != "8.4" && echo 'pcov') \ + pcov-1.0.12 \ rdkafka-6.0.5 \ redis-6.1.0 \ sqlsrv-5.12.0 \ @@ -275,7 +275,7 @@ RUN set -xe; \ oauth \ opentelemetry \ pdo_sqlsrv \ - $(test "${PHP_VERSION:0:3}" != "8.4" && echo 'pcov') \ + pcov \ rdkafka \ redis \ smbclient \ diff --git a/8/docker-entrypoint.sh b/8/docker-entrypoint.sh index 242a9a7..9377b36 100755 --- a/8/docker-entrypoint.sh +++ b/8/docker-entrypoint.sh @@ -66,9 +66,9 @@ process_templates() { # Extensions that don't work with --enabled-debug if [[ "${php_ver_minor}" != "8.4" ]]; then _gotpl "docker-php-ext-newrelic.ini.tmpl" "${PHP_INI_DIR}/conf.d/docker-php-ext-newrelic.ini" - _gotpl "docker-php-ext-pcov.ini.tmpl" "${PHP_INI_DIR}/conf.d/docker-php-ext-pcov.ini" fi + _gotpl "docker-php-ext-pcov.ini.tmpl" "${PHP_INI_DIR}/conf.d/docker-php-ext-pcov.ini" _gotpl "docker-php-${php_ver_minor}.ini.tmpl" "${PHP_INI_DIR}/conf.d/docker-php.ini" _gotpl "docker-php-ext-apcu.ini.tmpl" "${PHP_INI_DIR}/conf.d/docker-php-ext-apcu.ini" _gotpl "docker-php-ext-brotli.ini.tmpl" "${PHP_INI_DIR}/conf.d/docker-php-ext-brotli.ini" diff --git a/8/tests/php_modules/8.4 b/8/tests/php_modules/8.4 index e8b2078..b3ee2fb 100644 --- a/8/tests/php_modules/8.4 +++ b/8/tests/php_modules/8.4 @@ -38,6 +38,7 @@ OAuth openssl opentelemetry pcntl +pcov pcre PDO pdo_mysql diff --git a/README.md b/README.md index fe4aa8b..ac9d9e1 100644 --- a/README.md +++ b/README.md @@ -148,8 +148,8 @@ The default configuration not recommended for use for production environment: | [`PHP_OPCACHE_JIT`] | `tracing` | `tracing` | `tracing` | `tracing` | | [`PHP_OPCACHE_JIT_BUFFER_SIZE`] | `0` | `0` | `0` | `0` | | [`PHP_OUTPUT_BUFFERING`] | `4096` | `4096` | `4096` | `4096` | -| [`PHP_PCOV_ENABLED`] | - | `0` | `0` | `0` | -| _see all pcov ext options_ | - | [8.x pcov] | [8.x pcov] | [8.x pcov] | +| [`PHP_PCOV_ENABLED`] | `0` | `0` | `0` | `0` | +| _see all pcov ext options_ | [8.x pcov] | [8.x pcov] | [8.x pcov] | [8.x pcov] | | [`PHP_PDO_MYSQL_CACHE_SIZE`] | - | - | - | - | | [`PHP_PHAR_READONLY`] | `1` | `1` | `1` | `1` | | [`PHP_PHAR_REQUIRE_HASH`] | `1` | `1` | `1` | `1` | @@ -265,7 +265,7 @@ var `PHP_EXTENSIONS_DISABLE=xdebug,xhprof,spx`. | [OAuth] | 2.0.9 | 2.0.9 | 2.0.9 | 2.0.9 | | openssl | | | | | | [opentelemetry] | 1.1.0 | 1.1.0 | 1.1.0 | 1.1.0 | -| [pcov] | - | latest | latest | latest | +| [pcov] | 1.0.12 | 1.0.12 | 1.0.12 | 1.0.12 | | pcntl | | | | | | pcre | | | | | | PDO | | | | |