From: Joshua Spence Date: Tue, 6 May 2014 03:31:33 +0000 (-0700) Subject: Reduce method visibility. X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=48d52c30b07abdbe1ab7485ded2fbeaa8f0fe75b;p=arcanist.git 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 --- 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',