diff --git a/src/lint/renderer/ArcanistCheckstyleXMLLintRenderer.php b/src/lint/renderer/ArcanistCheckstyleXMLLintRenderer.php --- a/src/lint/renderer/ArcanistCheckstyleXMLLintRenderer.php +++ b/src/lint/renderer/ArcanistCheckstyleXMLLintRenderer.php @@ -9,7 +9,7 @@ public function __construct() { $this->writer = new XMLWriter(); - $this->writer->openMemory(); + $this->writer->openURI('checkstyle.xml'); $this->writer->setIndent(true); $this->writer->setIndentString(' '); } @@ -18,7 +18,7 @@ $this->writer->startDocument('1.0', 'UTF-8'); $this->writer->startElement('checkstyle'); $this->writer->writeAttribute('version', '4.3'); - return $this->writer->flush(); + $this->writer->flush(); } public function renderLintResult(ArcanistLintResult $result) { @@ -39,7 +39,7 @@ } $this->writer->endElement(); - return $this->writer->flush(); + $this->writer->flush(); } public function renderOkayResult() { @@ -49,7 +49,7 @@ public function renderPostamble() { $this->writer->endElement(); $this->writer->endDocument(); - return $this->writer->flush(); + $this->writer->flush(); } }