summaryrefslogtreecommitdiffstats
path: root/63.patch
blob: 510fe505a4d332a48c0aee8461b219937c611a98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
From 63850cfaeff7329de5e11222a63575fe5aecb382 Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Wed, 23 Sep 2020 08:11:44 +0200
Subject: [PATCH] force log_errors=1 for PHP 8

---
 tests/005.phpt | 1 +
 tests/006.phpt | 1 +
 2 files changed, 2 insertions(+)

diff --git a/tests/005.phpt b/tests/005.phpt
index 0336074..d7a8e08 100644
--- a/tests/005.phpt
+++ b/tests/005.phpt
@@ -4,6 +4,7 @@ Check for Yaconf with long key name
 <?php if (!extension_loaded("yaconf")) print "skip"; ?>
 --INI--
 yaconf.directory={PWD}/inis/005
+log_errors=1
 --FILE--
 <?php 
 var_dump(Yaconf::has("a"));
diff --git a/tests/006.phpt b/tests/006.phpt
index 5fba611..a1ca7df 100644
--- a/tests/006.phpt
+++ b/tests/006.phpt
@@ -4,6 +4,7 @@ Check for Yaconf with section
 <?php if (!extension_loaded("yaconf")) print "skip"; ?>
 --INI--
 yaconf.directory={PWD}/inis/006
+log_errors=1
 --FILE--
 <?php 
 var_dump(Yaconf::has("a"));