From fa3fe5e4bf138e168de2ec562e325ffd3587fb7a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 9 Oct 2019 09:53:53 +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..690edb3 --- /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 +@@ -14,7 +14,7 @@ class MimeDirTest extends \PHPUnit_Frame + function testParseError() { + + $mimeDir = new MimeDir(); +- $mimeDir->parse(fopen(__FILE__,'a')); ++ $mimeDir->parse(fopen(__FILE__,'a+')); + + } + -- cgit