You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
2.2 KiB

From da2e275aff642de43b94260ac1715379de9572ba Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Fri, 5 Jul 2024 11:47:33 +0200
Subject: [PATCH] fix tests for 8.4
---
tests/015.phpt | 2 +-
tests/015b.phpt | 2 +-
tests/015e.phpt | 2 +-
tests/027.phpt | 2 +-
tests/028.phpt | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/tests/015.phpt b/tests/015.phpt
index 4bd0f52..9e053aa 100644
--- a/tests/015.phpt
+++ b/tests/015.phpt
@@ -46,7 +46,7 @@ function gc($time) {
ini_set('session.serialize_handler', 'msgpack');
-session_set_save_handler('open', 'close', 'read', 'write', 'destroy', 'gc');
+@session_set_save_handler('open', 'close', 'read', 'write', 'destroy', 'gc');
session_start();
diff --git a/tests/015b.phpt b/tests/015b.phpt
index de383ee..b736fb5 100644
--- a/tests/015b.phpt
+++ b/tests/015b.phpt
@@ -45,7 +45,7 @@ function gc($time) {
return true;
}
-session_set_save_handler('open', 'close', 'read', 'write', 'destroy', 'gc');
+@session_set_save_handler('open', 'close', 'read', 'write', 'destroy', 'gc');
session_start();
diff --git a/tests/015e.phpt b/tests/015e.phpt
index b18a34a..0598d42 100644
--- a/tests/015e.phpt
+++ b/tests/015e.phpt
@@ -48,7 +48,7 @@ function gc($time) {
ini_set('session.serialize_handler', 'msgpack');
-session_set_save_handler('open', 'close', 'read', 'write', 'destroy', 'gc');
+@session_set_save_handler('open', 'close', 'read', 'write', 'destroy', 'gc');
session_start();
diff --git a/tests/027.phpt b/tests/027.phpt
index c8f89ab..49cf193 100644
--- a/tests/027.phpt
+++ b/tests/027.phpt
@@ -53,7 +53,7 @@ class Bar {
ini_set('session.serialize_handler', 'msgpack');
-session_set_save_handler('open', 'close', 'read', 'write', 'destroy', 'gc');
+@session_set_save_handler('open', 'close', 'read', 'write', 'destroy', 'gc');
$db_object = new Foo();
diff --git a/tests/028.phpt b/tests/028.phpt
index a55b90b..a5f7637 100644
--- a/tests/028.phpt
+++ b/tests/028.phpt
@@ -88,7 +88,7 @@ function gc($time) {
ini_set('session.serialize_handler', 'msgpack');
-session_set_save_handler('open', 'close', 'read', 'write', 'destroy', 'gc');
+@session_set_save_handler('open', 'close', 'read', 'write', 'destroy', 'gc');
session_start();