summaryrefslogtreecommitdiffstats
path: root/xmlrpc-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'xmlrpc-tests.patch')
-rw-r--r--xmlrpc-tests.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/xmlrpc-tests.patch b/xmlrpc-tests.patch
new file mode 100644
index 0000000..e96dd30
--- /dev/null
+++ b/xmlrpc-tests.patch
@@ -0,0 +1,45 @@
+From e83ef297bb23cc4e4de2cfb4bc83433902a196ef Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@php.net>
+Date: Thu, 15 Sep 2022 09:59:00 +0200
+Subject: [PATCH] fix test using dynamic properties
+
+---
+ tests/bug74975.phpt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/tests/bug74975.phpt b/tests/bug74975.phpt
+index 1b35298..7d50036 100644
+--- a/tests/bug74975.phpt
++++ b/tests/bug74975.phpt
+@@ -7,6 +7,7 @@ if (!extension_loaded("xmlrpc")) print "skip";
+ --FILE--
+ <?php
+
++#[AllowDynamicProperties]
+ class Foo {
+
+ }
+--
+2.37.2
+
+From 7dade03efe2aa11caee444968263e9f9bc8b2ea0 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@php.net>
+Date: Mon, 29 Jan 2024 16:00:24 +0100
+Subject: [PATCH] fix test expectation for 8.3
+
+---
+ tests/bug45556.phpt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/bug45556.phpt b/tests/bug45556.phpt
+index 485f2c1..add52ed 100644
+--- a/tests/bug45556.phpt
++++ b/tests/bug45556.phpt
+@@ -29,6 +29,6 @@ xmlrpc_server_call_method ($server, $request, NULL, $options);
+ --EXPECTF--
+ Warning: xmlrpc_server_call_method(): Invalid callback 'foobar' passed in %s on line %d
+
+-Warning: xmlrpc_server_call_method(): XML parse error: [line 1, column 1, message: Invalid document end] Unable to add introspection data returned from bar::test() in %s on line %d
++Warning: xmlrpc_server_call_method(): XML parse error: [line 1, column 1, message: %s] Unable to add introspection data returned from bar::test() in %s on line %d
+
+ Warning: xmlrpc_server_call_method(): Invalid callback 'foo::bar' passed in %s on line %d