From 963406f9bd341b32ea91170bfaa29d24fa02f946 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 20 Dec 2021 18:00:18 +0100 Subject: [PATCH 1/6] Back to dev --- php_pcov.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php_pcov.h b/php_pcov.h index 179677d..f899b29 100644 --- a/php_pcov.h +++ b/php_pcov.h @@ -21,7 +21,7 @@ extern zend_module_entry pcov_module_entry; #define phpext_pcov_ptr &pcov_module_entry -#define PHP_PCOV_VERSION "1.0.11" +#define PHP_PCOV_VERSION "1.0.12-dev" #ifdef PHP_WIN32 # define PHP_PCOV_API __declspec(dllexport) From c154cc97b3afa63eea475eb793b57202736a6bd7 Mon Sep 17 00:00:00 2001 From: Andrew Feeney Date: Fri, 12 Jan 2024 20:22:56 +1100 Subject: [PATCH 2/6] Update dead link to Fedora package The existing link now returns a 404 response. I've replaced it with what I believe is the updated correct link. --- INSTALL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index f34dc37..59acad8 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -26,7 +26,7 @@ Use `develop` branch for development, use `release` branch for last stable relea * **Microsoft Windows**: use zip archive from [https://windows.php.net/downloads/pecl/releases/pcov/](https://windows.php.net/downloads/pecl/releases/pcov/) - * **Fedora** 29 and up: use the [php-pecl-pcov](https://apps.fedoraproject.org/packages/php-pecl-pcov) package + * **Fedora** 29 and up: use the [php-pecl-pcov](https://packages.fedoraproject.org/pkgs/php-pecl-pcov/php-pecl-pcov/) package `dnf install php-pecl-pcov` From 8a0d69863dc8115a97144007e462c1c013a82ce5 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 4 Dec 2024 09:40:21 +0100 Subject: [PATCH 3/6] Fix php_pcre_match_impl with 8.4 (#111) --- pcov.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pcov.c b/pcov.c index f04ba9c..4f7d158 100644 --- a/pcov.c +++ b/pcov.c @@ -137,7 +137,11 @@ static zend_always_inline zend_bool php_pcov_wants(zend_string *filename) { /* { ZSTR_VAL(filename), ZSTR_LEN(filename), #endif &match, NULL, +#if PHP_VERSION_ID >= 80400 + false, 0, 0); +#else 0, 0, 0, 0); +#endif if (zend_is_true(&match)) { zend_hash_add_empty_element( From d00e052a297a31cc6b2463a4d456a97bc4bb1d68 Mon Sep 17 00:00:00 2001 From: James Titcumb Date: Wed, 4 Dec 2024 08:40:48 +0000 Subject: [PATCH 4/6] Added a composer.json to enable support for PIE (#113) * Added a composer.json to enable support for PIE * Updated Composer package name to pecl/pcov --- composer.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 composer.json diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..ed09d4e --- /dev/null +++ b/composer.json @@ -0,0 +1,18 @@ +{ + "name": "pecl/pcov", + "type": "php-ext", + "license": "PHP-3.01", + "description": "PCOV - CodeCoverage compatible driver for PHP", + "require": { + "php": ">= 7.1.0" + }, + "php-ext": { + "extension-name": "pcov", + "configure-options": [ + { + "name": "enable-pcov", + "description": "Enable php coverage support" + } + ] + } +} From 6e42371d9d424f49a7a3d832ee9a1cc5a063553a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 4 Dec 2024 09:43:55 +0100 Subject: [PATCH 5/6] Prepare 1.0.12 --- php_pcov.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php_pcov.h b/php_pcov.h index f899b29..2846de1 100644 --- a/php_pcov.h +++ b/php_pcov.h @@ -21,7 +21,7 @@ extern zend_module_entry pcov_module_entry; #define phpext_pcov_ptr &pcov_module_entry -#define PHP_PCOV_VERSION "1.0.12-dev" +#define PHP_PCOV_VERSION "1.0.12" #ifdef PHP_WIN32 # define PHP_PCOV_API __declspec(dllexport) From 15f808fc4090138731564997604777c8395278fb Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 4 Dec 2024 10:01:29 +0100 Subject: [PATCH 6/6] back to dev --- php_pcov.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php_pcov.h b/php_pcov.h index 2846de1..5fc7587 100644 --- a/php_pcov.h +++ b/php_pcov.h @@ -21,7 +21,7 @@ extern zend_module_entry pcov_module_entry; #define phpext_pcov_ptr &pcov_module_entry -#define PHP_PCOV_VERSION "1.0.12" +#define PHP_PCOV_VERSION "1.0.13-dev" #ifdef PHP_WIN32 # define PHP_PCOV_API __declspec(dllexport)