From 3152db6cce86c45e70425649234ad634aa073f65 Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Mon, 12 Jan 2015 07:24:53 +1100 Subject: [PATCH] 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 --- src/lint/linter/ArcanistCommitLinter.php | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.43.0