1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-22 14:52:40 +01:00

Fix visibility of the ArcanistLintEngine::buildLinters() method

Summary: Ref T6822. This method needs to be public so that it can be called from `ArcanistLintersWorkflow`.

Test Plan: Ran `arc linters`.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T6822

Differential Revision: https://secure.phabricator.com/D11239
This commit is contained in:
Joshua Spence 2015-01-07 07:35:20 +11:00
parent 2035330780
commit cd591318ca
2 changed files with 2 additions and 2 deletions

View file

@ -417,7 +417,7 @@ abstract class ArcanistLintEngine {
return $this->stopped; return $this->stopped;
} }
abstract protected function buildLinters(); abstract public function buildLinters();
final protected function didRunLinters(array $linters) { final protected function didRunLinters(array $linters) {
assert_instances_of($linters, 'ArcanistLinter'); assert_instances_of($linters, 'ArcanistLinter');

View file

@ -25,7 +25,7 @@ final class ArcanistUnitTestableLintEngine extends ArcanistLintEngine {
return parent::pathExists($path); return parent::pathExists($path);
} }
protected function buildLinters() { public function buildLinters() {
return $this->linters; return $this->linters;
} }