1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-01-09 14:21:01 +01:00
phorge-arcanist/src/unit
Mukunda Modell 2962504855 Fix an DOMDocument error with NoseTestEngine running on PHP 7
Summary:
In php 7, DOMDocument::loadXML emits an error when supplied with
an empty string as input. For example, I got this error:

  ERROR 2: DOMDocument::loadXML(): Empty string supplied as input

This change simply checks for empty and returns an empty array
rather than attempting to parse an empty xml document.

Test Plan: ran `arc diff` on a repo that uses nosetestengine

Reviewers: #blessed_reviewers!

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D16672
2016-10-09 16:28:51 -05:00
..
__tests__ Preserve more information when merging coverage 2015-08-10 15:35:15 -07:00
engine Fix an DOMDocument error with NoseTestEngine running on PHP 7 2016-10-09 16:28:51 -05:00
parser Filter out some Clover coverage to prevent false positives 2016-02-24 12:58:07 -08:00
renderer Remove leftover code for "postponed" lint and unit status 2015-08-30 21:56:12 +10:00
ArcanistUnitTestResult.php Remove leftover code for "postponed" lint and unit status 2015-08-30 21:56:12 +10:00