From 0ce1f601ddb2c33b4f7a7b8a4143d301541562aa Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 9 Oct 2019 09:23:29 +0200 Subject: - add patch for PHP 7.4 from https://github.com/sabre-io/vobject/pull/469 --- 469.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 469.patch (limited to '469.patch') diff --git a/469.patch b/469.patch new file mode 100644 index 0000000..eae0b20 --- /dev/null +++ b/469.patch @@ -0,0 +1,22 @@ +From 785981177a296b855d7318e87e095a0ea56f9715 Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Wed, 9 Oct 2019 09:11:46 +0200 +Subject: [PATCH] fix Bad file descriptor (7.4) + +--- + tests/VObject/Parser/MimeDirTest.php | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/VObject/Parser/MimeDirTest.php b/tests/VObject/Parser/MimeDirTest.php +index 671c2306..30906885 100644 +--- a/tests/VObject/Parser/MimeDirTest.php ++++ b/tests/VObject/Parser/MimeDirTest.php +@@ -16,7 +16,7 @@ class MimeDirTest extends TestCase + public function testParseError() + { + $mimeDir = new MimeDir(); +- $mimeDir->parse(fopen(__FILE__, 'a')); ++ $mimeDir->parse(fopen(__FILE__, 'a+')); + } + + public function testDecodeLatin1() -- cgit