From: Joshua Spence Date: Wed, 9 Jul 2014 22:06:37 +0000 (+1000) Subject: Decrease the priority of the `ArcanistPhutilLibraryLinter` X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=8975e3a4249c602defa471c9b9ac4fba80c66cfe;p=arcanist.git 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 --- 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());