summaryrefslogtreecommitdiffstats
path: root/0001-fix-test-for-php-7-8.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-04-17 17:43:30 +0200
committerRemi Collet <remi@remirepo.net>2020-04-17 17:43:30 +0200
commita1d4040f7c76b6af8d1465326aaab236f5ea5afe (patch)
tree92f1f8d356f0c5d916f0499e1a3fb489d7ef8c34 /0001-fix-test-for-php-7-8.patch
parent64c79d9cd9e5a15482369791817ceef887b5ecd8 (diff)
update to 0.9.0
raise dependency on PHP 7.2 fix test suite with PHP 8 using patch from https://github.com/jbboehr/php-handlebars/pull/66 skip 1 test on 32-bit reported as https://github.com/jbboehr/php-handlebars/issues/67
Diffstat (limited to '0001-fix-test-for-php-7-8.patch')
-rw-r--r--0001-fix-test-for-php-7-8.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/0001-fix-test-for-php-7-8.patch b/0001-fix-test-for-php-7-8.patch
new file mode 100644
index 0000000..ddf4c6a
--- /dev/null
+++ b/0001-fix-test-for-php-7-8.patch
@@ -0,0 +1,23 @@
+From 05091f6b4a68ff4924c399bf6ac77ceca40ddaf6 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Fri, 17 Apr 2020 15:01:32 +0200
+Subject: [PATCH] fix test for php 7/8
+
+---
+ tests/missing-file.phpt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/missing-file.phpt b/tests/missing-file.phpt
+index 8bd131e..f62eb7d 100644
+--- a/tests/missing-file.phpt
++++ b/tests/missing-file.phpt
+@@ -12,5 +12,5 @@ try {
+ echo $e->getMessage(), "\n";
+ }
+ --EXPECTF--
+-Warning: Handlebars\VM::renderFile(dontreal): failed to open stream: No such file or directory in %s on line %d
++Warning: Handlebars\VM::renderFile(dontreal): %ailed to open stream: No such file or directory in %s on line %d
+ Failed to read input template file
+--
+2.25.2
+