From a1d4040f7c76b6af8d1465326aaab236f5ea5afe Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 17 Apr 2020 17:43:30 +0200 Subject: 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 --- 0001-fix-test-for-php-7-8.patch | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 0001-fix-test-for-php-7-8.patch (limited to '0001-fix-test-for-php-7-8.patch') 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 +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 + -- cgit