Explorar el Código

Merge branch 'release/2.11.1'

Justin Hileman hace 9 años
padre
commit
817038f88f
Se han modificado 2 ficheros con 5 adiciones y 4 borrados
  1. 1 1
      src/Mustache/Engine.php
  2. 4 3
      test/bootstrap.php

+ 1 - 1
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';

+ 4 - 3
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');
+}