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
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);
}
}
- public function getLintNameMap() {
- return array(
- self::LINT_MERGECONFLICT => pht('Unresolved merge conflict'),
- );
- }
-
}