diff options
author | Remi Collet <remi@remirepo.net> | 2022-05-04 16:30:47 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2022-05-04 16:30:47 +0200 |
commit | 5c3e85a6c7e468a9352fddb93fe5db6c62820de1 (patch) | |
tree | 8585f1bfb4cd2b19631897013fa3797b83fd13a4 /4.patch | |
parent | aaab85b9eda928db70d7fadc1206e1d8c3b73953 (diff) |
update to 1.0.3
fix build with PHP 7.1 using patch from
https://github.com/wikimedia/php-excimer/pull/4
Diffstat (limited to '4.patch')
-rw-r--r-- | 4.patch | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -0,0 +1,25 @@ +From b87b859aa7546942f85e20c05e3aefa797868164 Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Wed, 4 May 2022 16:22:00 +0200 +Subject: [PATCH] fix arginfo for 7.1 + +--- + excimer.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/excimer.c b/excimer.c +index ac7e12f..fec499a 100644 +--- a/excimer.c ++++ b/excimer.c +@@ -285,7 +285,11 @@ ZEND_END_ARG_INFO() + ZEND_BEGIN_ARG_INFO(arginfo_ExcimerLog_formatCollapsed, 0) + ZEND_END_ARG_INFO() + ++#if PHP_VERSION_ID < 70200 ++ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO(arginfo_ExcimerLog_aggregateByFunction, IS_ARRAY, NULL, 0) ++#else + ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO(arginfo_ExcimerLog_aggregateByFunction, IS_ARRAY, 0) ++#endif + ZEND_END_ARG_INFO() + + ZEND_BEGIN_ARG_INFO(arginfo_ExcimerLog_getEventCount, 0) |