mirror of
https://we.phorge.it/source/arcanist.git
synced 2025-01-24 05:28:18 +01:00
956bfa701c
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
19 lines
345 B
PHP
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 '';
|
|
}
|
|
|
|
}
|