mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-10 08:52:39 +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:
parent
2035330780
commit
cd591318ca
2 changed files with 2 additions and 2 deletions
|
@ -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');
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue