Răsfoiți Sursa

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

Justin Hileman 11 ani în urmă
părinte
comite
4decec3c0e
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  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':