Explorar o código

Reformat code so php-cs-fixer doesn’t keep breaking it.

Justin Hileman %!s(int64=11) %!d(string=hai) anos
pai
achega
4decec3c0e
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      test/Mustache/Test/Functional/ExamplesTest.php

+ 2 - 1
test/Mustache/Test/Functional/ExamplesTest.php

@@ -93,7 +93,8 @@ class Mustache_Test_Functional_ExamplesTest extends PHPUnit_Framework_TestCase
                 switch ($info['extension']) {
                     case 'php':
                         require_once $fullpath;
-                        $context = new $info['filename']();
+                        $className = $info['filename'];
+                        $context   = new $className();
                         break;
 
                     case 'mustache':