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:
parent
e37a76896a
commit
8975e3a424
1 changed files with 4 additions and 0 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue