From: Joshua Spence Date: Mon, 22 Sep 2014 08:42:41 +0000 (+1000) Subject: Minor reordering of functions X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=670dccee47aa8ad65619950fb33b08d410da9579;p=arcanist.git 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 --- diff --git a/src/lint/linter/ArcanistMergeConflictLinter.php b/src/lint/linter/ArcanistMergeConflictLinter.php index 2affdf88..804af19f 100644 --- a/src/lint/linter/ArcanistMergeConflictLinter.php +++ b/src/lint/linter/ArcanistMergeConflictLinter.php @@ -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'), - ); - } - }