summaryrefslogtreecommitdiffstats
path: root/469.patch
blob: 690edb389b8dc6305853d5950e071f7dba9e33cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 785981177a296b855d7318e87e095a0ea56f9715 Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
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+'));
 
     }