From 4213fbc8c6c2865bb86be4a24ed764a8ed4bd0df Mon Sep 17 00:00:00 2001 From: Rob Bast Date: Fri, 23 Sep 2016 13:27:15 +0200 Subject: [PATCH] does not apply for hhvm --- tests/Composer/Test/Autoload/ClassMapGeneratorTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Composer/Test/Autoload/ClassMapGeneratorTest.php b/tests/Composer/Test/Autoload/ClassMapGeneratorTest.php index 716a6b0a5..06d137464 100644 --- a/tests/Composer/Test/Autoload/ClassMapGeneratorTest.php +++ b/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'; }