mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 06:42:41 +01:00
Fix parsing of PHPUnit JSON log format for PHPUnit 3.7.7
Summary: See https://github.com/facebook/arcanist/pull/55 Reviewed by: epriestley
This commit is contained in:
parent
eb5bdb03d0
commit
9c2348f2f4
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ final class PhpunitTestEngine extends ArcanistBaseUnitTestEngine {
|
|||
);
|
||||
}
|
||||
|
||||
$json = str_replace('}{"', '},{"', $json);
|
||||
$json = preg_replace('/}{\s*"/', '},{"', $json);
|
||||
$json = '[' . $json . ']';
|
||||
$json = json_decode($json);
|
||||
if (!is_array($json)) {
|
||||
|
|
Loading…
Reference in a new issue