mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-26 00:32:41 +01:00
Reduce method visibility.
Summary: These methods are declared `public`, but there are meant to be `protected` (as they are declared in `ArcanistExternalLinter`). Test Plan: N/A Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D8991
This commit is contained in:
parent
e00ce65200
commit
48d52c30b0
1 changed files with 2 additions and 2 deletions
|
@ -63,13 +63,13 @@ final class ArcanistJSHintLinter extends ArcanistExternalLinter {
|
||||||
return '-';
|
return '-';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getMandatoryFlags() {
|
protected function getMandatoryFlags() {
|
||||||
return array(
|
return array(
|
||||||
'--reporter='.dirname(realpath(__FILE__)).'/reporter.js',
|
'--reporter='.dirname(realpath(__FILE__)).'/reporter.js',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDefaultFlags() {
|
protected function getDefaultFlags() {
|
||||||
$config_manager = $this->getEngine()->getConfigurationManager();
|
$config_manager = $this->getEngine()->getConfigurationManager();
|
||||||
$options = $config_manager->getConfigFromAnySource(
|
$options = $config_manager->getConfigFromAnySource(
|
||||||
'lint.jshint.options',
|
'lint.jshint.options',
|
||||||
|
|
Loading…
Reference in a new issue