mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-10 08:52:39 +01:00
Minor reordering of functions
Summary: This seems somewhat neater to me, YMMV. Test Plan: N/A Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D10468
This commit is contained in:
parent
be34693f23
commit
670dccee47
1 changed files with 6 additions and 6 deletions
|
@ -25,6 +25,12 @@ final class ArcanistMergeConflictLinter extends ArcanistLinter {
|
|||
return 'merge-conflict';
|
||||
}
|
||||
|
||||
public function getLintNameMap() {
|
||||
return array(
|
||||
self::LINT_MERGECONFLICT => pht('Unresolved merge conflict'),
|
||||
);
|
||||
}
|
||||
|
||||
public function lintPath($path) {
|
||||
$lines = phutil_split_lines($this->getData($path), false);
|
||||
|
||||
|
@ -41,10 +47,4 @@ final class ArcanistMergeConflictLinter extends ArcanistLinter {
|
|||
}
|
||||
}
|
||||
|
||||
public function getLintNameMap() {
|
||||
return array(
|
||||
self::LINT_MERGECONFLICT => pht('Unresolved merge conflict'),
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue