1
0
Fork 0
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:
Joshua Spence 2014-09-22 18:42:41 +10:00
parent be34693f23
commit 670dccee47

View file

@ -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'),
);
}
}