From: Joshua Spence Date: Sun, 11 Jan 2015 20:24:53 +0000 (+1100) Subject: Disable the customization of linter severities for `ArcanistCommitLinter` X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=3152db6cce86c45e70425649234ad634aa073f65;p=arcanist.git Disable the customization of linter severities for `ArcanistCommitLinter` Summary: The expectation is that this linter only raises errors. Test Plan: This is mostly theoretical. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11331 --- diff --git a/src/lint/linter/ArcanistCommitLinter.php b/src/lint/linter/ArcanistCommitLinter.php index 17648335..5a4c5c26 100644 --- a/src/lint/linter/ArcanistCommitLinter.php +++ b/src/lint/linter/ArcanistCommitLinter.php @@ -30,6 +30,10 @@ final class ArcanistCommitLinter extends ArcanistLinter { ); } + protected function canCustomizeLintSeverities() { + return false; + } + public function lintPath($path) { if ($this->getEngine()->getCommitHookMode()) { $this->lintNoCommit($path);