diff options
author | Remi Collet <remi@remirepo.net> | 2025-07-08 15:11:05 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2025-07-08 15:11:05 +0200 |
commit | 8f81f31671945fa24e3ad1752d27056d249cc476 (patch) | |
tree | ae62b40ed2c9398e5a069b0961e1db508f20972e /53.patch | |
parent | 1bcdab02f576f0224ce04e6ed649312aa7c85395 (diff) |
add patch for test suite with PHP 8.5 from
https://github.com/m6w6/ext-pq/pull/53
Diffstat (limited to '53.patch')
-rw-r--r-- | 53.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/53.patch b/53.patch new file mode 100644 index 0000000..ed40ab8 --- /dev/null +++ b/53.patch @@ -0,0 +1,24 @@ +From da7fe208d67f10ed106aec33163496e42a129022 Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Tue, 8 Jul 2025 15:07:07 +0200 +Subject: [PATCH] Relax text expectation (for 8.5) + +-Warning: fclose(): %d is not a valid stream resource in ... ++Warning: fclose(): cannot close the provided stream, as it must not be manually closed in ... +--- + tests/lob003.phpt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/lob003.phpt b/tests/lob003.phpt +index f6d846e..c25dac7 100644 +--- a/tests/lob003.phpt ++++ b/tests/lob003.phpt +@@ -25,7 +25,7 @@ Test + resource(%d) of type (stream) + resource(%d) of type (stream) + +-Warning: fclose(): %d is not a valid stream resource in %s on line %d ++Warning: fclose(): %s in %s on line %d + resource(%d) of type (stream) + string(0) "" + DONE |