From 48d52c30b07abdbe1ab7485ded2fbeaa8f0fe75b Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Mon, 5 May 2014 20:31:33 -0700 Subject: [PATCH] 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 --- src/lint/linter/ArcanistJSHintLinter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lint/linter/ArcanistJSHintLinter.php b/src/lint/linter/ArcanistJSHintLinter.php index 52cb0146..0463547a 100644 --- a/src/lint/linter/ArcanistJSHintLinter.php +++ b/src/lint/linter/ArcanistJSHintLinter.php @@ -63,13 +63,13 @@ final class ArcanistJSHintLinter extends ArcanistExternalLinter { return '-'; } - public function getMandatoryFlags() { + protected function getMandatoryFlags() { return array( '--reporter='.dirname(realpath(__FILE__)).'/reporter.js', ); } - public function getDefaultFlags() { + protected function getDefaultFlags() { $config_manager = $this->getEngine()->getConfigurationManager(); $options = $config_manager->getConfigFromAnySource( 'lint.jshint.options', -- 2.43.0