summaryrefslogtreecommitdiffstats
path: root/50353e06d89a0bf0a77287f9d232f3a2edb60667.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-07-24 09:38:06 +0200
committerRemi Collet <remi@remirepo.net>2019-07-24 09:38:06 +0200
commitb1842512440b3d4faca0cbdfa044b9e3ef75684d (patch)
treefe388c7afa2d4bf679305e40f306d808115a9c98 /50353e06d89a0bf0a77287f9d232f3a2edb60667.patch
parent3a4bc314fab42f31bb82fdfb44fb1f79122f7e6d (diff)
add upstream patch for failed test with 7.4
Diffstat (limited to '50353e06d89a0bf0a77287f9d232f3a2edb60667.patch')
-rw-r--r--50353e06d89a0bf0a77287f9d232f3a2edb60667.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/50353e06d89a0bf0a77287f9d232f3a2edb60667.patch b/50353e06d89a0bf0a77287f9d232f3a2edb60667.patch
new file mode 100644
index 0000000..4da2788
--- /dev/null
+++ b/50353e06d89a0bf0a77287f9d232f3a2edb60667.patch
@@ -0,0 +1,26 @@
+From 50353e06d89a0bf0a77287f9d232f3a2edb60667 Mon Sep 17 00:00:00 2001
+From: Nikita Popov <nikita.ppv@gmail.com>
+Date: Fri, 7 Jun 2019 10:04:14 +0200
+Subject: [PATCH] Use different fatal error
+
+The string conversion fatal is an exception in 7.4.
+---
+ tests/apc_entry_003.phpt | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/tests/apc_entry_003.phpt b/tests/apc_entry_003.phpt
+index ef8ace9..0fd7be4 100644
+--- a/tests/apc_entry_003.phpt
++++ b/tests/apc_entry_003.phpt
+@@ -8,8 +8,9 @@ apc.enable_cli=1
+ --FILE--
+ <?php
+ $value = apcu_entry("test", function($key) {
+- (string) new stdClass;
++ // Fatal error
++ class X implements Y {}
+ });
+ ?>
+ --EXPECTF--
+-%s fatal error: Object of class stdClass could not be converted to string in %s on line %d
++Fatal error: Interface 'Y' not found in %s on line %d