1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-22 06:42:41 +01:00

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
This commit is contained in:
Joshua Spence 2014-07-10 08:06:37 +10:00
parent e37a76896a
commit 8975e3a424

View file

@ -40,6 +40,10 @@ final class ArcanistPhutilLibraryLinter extends ArcanistLinter {
return 'PHL'; return 'PHL';
} }
public function getLinterPriority() {
return 2.0;
}
public function willLintPaths(array $paths) { public function willLintPaths(array $paths) {
if (!xhpast_is_available()) { if (!xhpast_is_available()) {
throw new Exception(xhpast_get_build_instructions()); throw new Exception(xhpast_get_build_instructions());