소스 검색

does not apply for hhvm

Rob Bast 8 년 전
부모
커밋
4213fbc8c6
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      tests/Composer/Test/Autoload/ClassMapGeneratorTest.php

+ 2 - 2
tests/Composer/Test/Autoload/ClassMapGeneratorTest.php

@@ -64,9 +64,9 @@ class ClassMapGeneratorTest extends TestCase
 
         /**
          * @wontfix If short_open_tag is not enabled, we end up parsing the docblock because
-         *  php_strip_whitespace won't recognize the file. Funky edge-case.
+         *  php_strip_whitespace won't recognize the file. Funky edge-case (does not apply to HHVM).
          */
-        if (!ini_get('short_open_tag')) {
+        if (!defined('HHVM_VERSION') && !ini_get('short_open_tag')) {
             $classmap['description'] = realpath(__DIR__) . '/Fixtures/classmap/ShortOpenTagDocblock.php';
         }