Quellcode durchsuchen

does not apply for hhvm

Rob Bast vor 8 Jahren
Ursprung
Commit
4213fbc8c6
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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';
         }