Changeset View
Changeset View
Standalone View
Standalone View
src/lint/engine/UnitTestableArcanistLintEngine.php
| <?php | <?php | ||||
| /** | /** | ||||
| * Lint engine for use in constructing test cases. See | * Lint engine for use in constructing test cases. See | ||||
| * @{class:ArcanistLinterTestCase}. | * @{class:ArcanistLinterTestCase}. | ||||
| * | |||||
| * @group testcase | |||||
| */ | */ | ||||
| final class UnitTestableArcanistLintEngine extends ArcanistLintEngine { | final class UnitTestableArcanistLintEngine extends ArcanistLintEngine { | ||||
| protected $linters = array(); | protected $linters = array(); | ||||
| public function addLinter($linter) { | public function addLinter($linter) { | ||||
| $this->linters[] = $linter; | $this->linters[] = $linter; | ||||
| return $this; | return $this; | ||||
| Show All 19 Lines | |||||