From 57bb8447c614c4854d726f0e6d8018713f28ba8b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 7 May 2020 11:36:34 +0200 Subject: add upstream patch for test suite with PHP 7.4.6 --- 07625b9a51a96d8402fd01b373edd58befa4e3fb.patch | 64 ++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 07625b9a51a96d8402fd01b373edd58befa4e3fb.patch (limited to '07625b9a51a96d8402fd01b373edd58befa4e3fb.patch') diff --git a/07625b9a51a96d8402fd01b373edd58befa4e3fb.patch b/07625b9a51a96d8402fd01b373edd58befa4e3fb.patch new file mode 100644 index 0000000..63a80d4 --- /dev/null +++ b/07625b9a51a96d8402fd01b373edd58befa4e3fb.patch @@ -0,0 +1,64 @@ +From 07625b9a51a96d8402fd01b373edd58befa4e3fb Mon Sep 17 00:00:00 2001 +From: Tyson Andre +Date: Wed, 6 May 2020 09:57:04 -0400 +Subject: [PATCH] Update tests of serializing ArrayObject for 7.4.6+ + +Fixes #274 +--- + .appveyor.yml | 12 ++++++------ + tests/__serialize_012.phpt | 20 +++++++++++++++++--- + 2 files changed, 23 insertions(+), 9 deletions(-) + +diff --git a/tests/__serialize_012.phpt b/tests/__serialize_012.phpt +index 13f1d32..488a87d 100644 +--- a/tests/__serialize_012.phpt ++++ b/tests/__serialize_012.phpt +@@ -1,7 +1,7 @@ + --TEST-- + Test unserialization of classes derived from ArrayIterator + --SKIPIF-- +- ++ + --FILE-- + +- object(__PHP_Incomplete_Class)#3 (4) { ++ object(Foo1)#3 (1) { ++ ["storage":"ArrayIterator":private]=> ++ array(0) { ++ } ++ } ++ [1]=> ++ object(Foo2)#4 (0) { ++ } ++} ++array(2) { ++ [0]=> ++ object(__PHP_Incomplete_Class)#4 (5) { + ["__PHP_Incomplete_Class_Name"]=> + string(4) "Bar1" + ["0"]=> +@@ -29,9 +41,11 @@ array(2) { + ["2"]=> + array(0) { + } ++ ["3"]=> ++ NULL + } + [1]=> +- object(__PHP_Incomplete_Class)#4 (1) { ++ object(__PHP_Incomplete_Class)#3 (1) { + ["__PHP_Incomplete_Class_Name"]=> + string(4) "Bar2" + } -- cgit