From 0bcd76a5e28c46c0ee470b9509b9ac2c482ab617 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 15 Apr 2020 16:10:40 +0200 Subject: fix test suite with PHP 8 using patch from https://github.com/kjdev/php-ext-zstd/pull/31 --- 31.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 31.patch (limited to '31.patch') diff --git a/31.patch b/31.patch new file mode 100644 index 0000000..f4cc45d --- /dev/null +++ b/31.patch @@ -0,0 +1,24 @@ +From 50ae3ccf376ec8540a8220aba85e59a7979ac72c Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Wed, 15 Apr 2020 16:05:14 +0200 +Subject: [PATCH] fix test to pass with PHP 8 + +--- + tests/streams_7.phpt | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/tests/streams_7.phpt b/tests/streams_7.phpt +index 6d72cff..aa76d64 100644 +--- a/tests/streams_7.phpt ++++ b/tests/streams_7.phpt +@@ -15,8 +15,8 @@ readfile("compress.zstd://https://github.com/kjdev/php-ext-zstd/raw/master/tests + --EXPECTF-- + Warning: readfile(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s + +-Warning: readfile(https://github.com/kjdev/php-ext-zstd/raw/master/tests/streaming.zst): failed to open stream: no suitable wrapper could be found in %s ++Warning: readfile(https://github.com/kjdev/php-ext-zstd/raw/master/tests/streaming.zst): %sailed to open stream: no suitable wrapper could be found in %s + +-Warning: readfile(compress.zstd://https://github.com/kjdev/php-ext-zstd/raw/master/tests/streaming.zst): failed to open stream: operation failed in %s ++Warning: readfile(compress.zstd://https://github.com/kjdev/php-ext-zstd/raw/master/tests/streaming.zst): %sailed to open stream: operation failed in %s + + ===Done=== -- cgit