From 0803fa688b27a267635795bfb66fbfa3782bfcda Mon Sep 17 00:00:00 2001 From: Justin Hileman Date: Sat, 30 Jul 2016 23:17:51 -0700 Subject: [PATCH 1/2] Fix test bootstrap in PHP < 5.5 --- test/bootstrap.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/bootstrap.php b/test/bootstrap.php index 0c3c631..21fc689 100644 --- a/test/bootstrap.php +++ b/test/bootstrap.php @@ -56,7 +56,7 @@ class TestStream */ public function stream_stat() { - return []; + return array(); } /** @@ -86,5 +86,6 @@ class TestStream } } -stream_wrapper_register('test', TestStream::class) - || die('Failed to register protocol'); +if (!stream_wrapper_register('test', 'TestStream')) { + die('Failed to register protocol'); +} From 87e87e29feef10afe1d431171980049528a1b84f Mon Sep 17 00:00:00 2001 From: Justin Hileman Date: Sat, 30 Jul 2016 23:18:19 -0700 Subject: [PATCH 2/2] Bump to v2.11.1 --- src/Mustache/Engine.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mustache/Engine.php b/src/Mustache/Engine.php index 3aeb923..856d4ef 100644 --- a/src/Mustache/Engine.php +++ b/src/Mustache/Engine.php @@ -23,7 +23,7 @@ */ class Mustache_Engine { - const VERSION = '2.11.0'; + const VERSION = '2.11.1'; const SPEC_VERSION = '1.1.2'; const PRAGMA_FILTERS = 'FILTERS';