Ver código fonte

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

Justin Hileman 11 anos atrás
pai
commit
4decec3c0e
1 arquivos alterados com 2 adições e 1 exclusões
  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':