From 468f3a80cc734a632837dbf6d4e35c59adc8c379 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 9 Jun 2021 11:52:00 +0200 Subject: add patch for test suite with 8.1 from https://github.com/m6w6/ext-apfd/pull/4 --- apfd-php81.patch | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 apfd-php81.patch (limited to 'apfd-php81.patch') diff --git a/apfd-php81.patch b/apfd-php81.patch new file mode 100644 index 0000000..9b897d4 --- /dev/null +++ b/apfd-php81.patch @@ -0,0 +1,38 @@ +From 3b75b75ca2c8fde273b244052bb60f9cb4a56072 Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Wed, 9 Jun 2021 11:46:36 +0200 +Subject: [PATCH] ignore new "full_path" member in 8.1 + +--- + tests/002.phpt | 3 +++ + tests/003.phpt | 3 +++ + 2 files changed, 6 insertions(+) + +diff --git a/tests/002.phpt b/tests/002.phpt +index e46df77..50ca235 100644 +--- a/tests/002.phpt ++++ b/tests/002.phpt +@@ -70,6 +70,9 @@ mike + --FILE-- + $v) { ++ unset($_FILES[$i]['full_path']); // only in 8.1 ++} + var_dump($_POST, $_FILES); + + ?> +diff --git a/tests/003.phpt b/tests/003.phpt +index 7cfd9ca..94b8989 100644 +--- a/tests/003.phpt ++++ b/tests/003.phpt +@@ -70,6 +70,9 @@ mike + --FILE-- + $v) { ++ unset($_FILES[$i]['full_path']); // only in 8.1 ++} + var_dump($_POST, $_FILES); + + ?> -- cgit