]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Mark some methods in `ArcanistLinter` as final
authorJoshua Spence <josh@joshuaspence.com>
Tue, 7 Oct 2014 13:07:39 +0000 (00:07 +1100)
committerJoshua Spence <josh@joshuaspence.com>
Tue, 7 Oct 2014 13:07:39 +0000 (00:07 +1100)
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

index fa43496c7a6442013434b9492132674eb7929651..c26bd22633468df738683f4d5d86d31e1a5c1802 100644 (file)
@@ -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;
   }