Changeset View
Changeset View
Standalone View
Standalone View
src/lint/renderer/ArcanistLintCheckstyleXMLRenderer.php
| <?php | <?php | ||||
| /** | /** | ||||
| * Shows lint messages to the user. | * Shows lint messages to the user. | ||||
| * | |||||
| * @group lint | |||||
| */ | */ | ||||
| final class ArcanistLintCheckstyleXMLRenderer extends ArcanistLintRenderer { | final class ArcanistLintCheckstyleXMLRenderer extends ArcanistLintRenderer { | ||||
| private $writer; | private $writer; | ||||
| public function __construct() { | public function __construct() { | ||||
| $this->writer = new XMLWriter(); | $this->writer = new XMLWriter(); | ||||
| $this->writer->openMemory(); | $this->writer->openMemory(); | ||||
| Show All 33 Lines | public function renderOkayResult() { | ||||
| return ''; | return ''; | ||||
| } | } | ||||
| public function renderPostamble() { | public function renderPostamble() { | ||||
| $this->writer->endElement(); | $this->writer->endElement(); | ||||
| $this->writer->endDocument(); | $this->writer->endDocument(); | ||||
| return $this->writer->flush(); | return $this->writer->flush(); | ||||
| } | } | ||||
| } | } | ||||