Page MenuHomePhabricator

D13570.id32795.diff
No OneTemporary

D13570.id32795.diff

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();
}
}

File Metadata

Mime Type
text/plain
Expires
Thu, Apr 3, 6:41 AM (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7730053
Default Alt Text
D13570.id32795.diff (1 KB)

Event Timeline