소스 검색

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

Justin Hileman 11 년 전
부모
커밋
4decec3c0e
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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':