]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Decrease the priority of the `ArcanistPhutilLibraryLinter`
authorJoshua Spence <josh@joshuaspence.com>
Wed, 9 Jul 2014 22:06:37 +0000 (08:06 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Wed, 9 Jul 2014 22:06:37 +0000 (08:06 +1000)
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

index e6e1e4ce73e40caba81244373a25c80c2e078f83..f0ea99d6399efd21ba5f281c5a24d388d598fa4a 100644 (file)
@@ -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());