]> khamidou — GitHub mirrors - arcanist.git/commit
Fix broken ArcanistPhpunitTestResultParser
authorSascha Egerer <sascha.egerer@dkd.de>
Thu, 7 May 2015 15:41:28 +0000 (08:41 -0700)
committerepriestley <git@epriestley.com>
Thu, 7 May 2015 15:41:28 +0000 (08:41 -0700)
commit3e36b3fc430d227d6bd7d478bb4713c567e5086c
tree6a587de3a03d2d08315d5308f0eda5cbf27facdc
parent6f7bedaceb6857a084b4914679a43fdedfb720da
Fix broken ArcanistPhpunitTestResultParser

Summary:
The ArcanistPhpunitTestResultParser has been changed
to use phutil_json_decode instead of json_decode in
rARCa4d33ef117aa8702181154b60ce1ce52bcfc119b
That has broken the functionality as json_decode has returned
an object before but phutil_json_decode does return an array.
The code has now been adopted to work with the array result
instead of an object.

Test Plan: Run a phpunit test case

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: aurelijus, epriestley

Differential Revision: https://secure.phabricator.com/D12751
src/unit/parser/ArcanistPhpunitTestResultParser.php