summaryrefslogtreecommitdiffstats
path: root/bitset-php82.patch
diff options
context:
space:
mode:
Diffstat (limited to 'bitset-php82.patch')
-rw-r--r--bitset-php82.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/bitset-php82.patch b/bitset-php82.patch
deleted file mode 100644
index 4851cf0..0000000
--- a/bitset-php82.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 39a70cb32da68b14a704f8a9c41a911029596e70 Mon Sep 17 00:00:00 2001
-From: Remi Collet <remi@remirepo.net>
-Date: Fri, 9 Sep 2022 16:16:18 +0200
-Subject: [PATCH] Fix __toString prototype with PHP 8.2
-
----
- bitset.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/bitset.c b/bitset.c
-index 82765e1..a744d69 100644
---- a/bitset.c
-+++ b/bitset.c
-@@ -118,7 +118,11 @@ ZEND_END_ARG_INFO()
- ZEND_BEGIN_ARG_INFO(arginfo_bitset_xorop, 0)
- ZEND_END_ARG_INFO()
-
-+#if PHP_VERSION_ID >= 80200
-+ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_bitset___tostring, 0, 0, IS_STRING, 0)
-+#else
- ZEND_BEGIN_ARG_INFO(arginfo_bitset___tostring, 0)
-+#endif
- ZEND_END_ARG_INFO()
-
- ZEND_BEGIN_ARG_INFO(arginfo_bitset_getrawvalue, 0)