1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-01-24 05:28:18 +01:00
phorge-arcanist/src/lint/renderer/ArcanistLintRenderer.php
Joshua Spence 956bfa701c Extend from Phobject
Summary: All base classes should extend from `Phobject` or some other classes. See D13275 for some explanation.

Test Plan: `arc unit`

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D13281
2015-06-15 15:47:33 +10:00

19 lines
345 B
PHP

<?php
/**
* Shows lint messages to the user.
*/
abstract class ArcanistLintRenderer extends Phobject {
public function renderPreamble() {
return '';
}
abstract public function renderLintResult(ArcanistLintResult $result);
abstract public function renderOkayResult();
public function renderPostamble() {
return '';
}
}