From 8975e3a4249c602defa471c9b9ac4fba80c66cfe Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Thu, 10 Jul 2014 08:06:37 +1000 Subject: [PATCH] Decrease the priority of the `ArcanistPhutilLibraryLinter` Summary: Ref T5577. Decrease the priority of the `ArcanistPhutilLibraryLinter` such that it is lower than that of the `ArcanistXHPASTLinter`. There isn't any specific reason that we should do this, although it seems to generally be a reasonable idea. Test Plan: N/A Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley, Korvin Maniphest Tasks: T5577 Differential Revision: https://secure.phabricator.com/D9866 --- src/lint/linter/ArcanistPhutilLibraryLinter.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lint/linter/ArcanistPhutilLibraryLinter.php b/src/lint/linter/ArcanistPhutilLibraryLinter.php index e6e1e4ce..f0ea99d6 100644 --- a/src/lint/linter/ArcanistPhutilLibraryLinter.php +++ b/src/lint/linter/ArcanistPhutilLibraryLinter.php @@ -40,6 +40,10 @@ final class ArcanistPhutilLibraryLinter extends ArcanistLinter { return 'PHL'; } + public function getLinterPriority() { + return 2.0; + } + public function willLintPaths(array $paths) { if (!xhpast_is_available()) { throw new Exception(xhpast_get_build_instructions());