From a0cb484db485d6ed7689bbd6969cce9166ba3d19 Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Wed, 8 Oct 2014 00:07:39 +1100 Subject: [PATCH] Mark some methods in `ArcanistLinter` as final Summary: Minor change, self-explanatory... this seems to make sense. Test Plan: N/A Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D10476 --- src/lint/linter/ArcanistLinter.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lint/linter/ArcanistLinter.php b/src/lint/linter/ArcanistLinter.php index fa43496c..c26bd226 100644 --- a/src/lint/linter/ArcanistLinter.php +++ b/src/lint/linter/ArcanistLinter.php @@ -73,12 +73,15 @@ abstract class ArcanistLinter { return 1.0; } + /** + * TODO: This should be `final`. + */ public function setCustomSeverityMap(array $map) { $this->customSeverityMap = $map; return $this; } - public function setCustomSeverityRules(array $rules) { + final public function setCustomSeverityRules(array $rules) { $this->customSeverityRules = $rules; return $this; } -- 2.43.0