excluding aspect mock on hhvm

This commit is contained in:
Jessica Mauerhan
2016-03-22 19:25:52 -04:00
parent 61bded7d74
commit 70d7d6ff0b
2 changed files with 8 additions and 6 deletions
+7 -5
View File
@@ -1,8 +1,10 @@
<?php
include __DIR__ . '/../vendor/autoload.php'; // composer autoload
$kernel = \AspectMock\Kernel::getInstance();
$kernel->init([
'debug' => true,
'includePaths' => [__DIR__ . '/../src/Generator']
]);
if (!defined('HHVM_VERSION')) {
$kernel = \AspectMock\Kernel::getInstance();
$kernel->init([
'debug' => true,
'includePaths' => [__DIR__ . '/../src/Generator']
]);
}