Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14447793
D9039.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D9039.diff
View Options
diff --git a/src/lint/linter/ArcanistMergeConflictLinter.php b/src/lint/linter/ArcanistMergeConflictLinter.php
--- a/src/lint/linter/ArcanistMergeConflictLinter.php
+++ b/src/lint/linter/ArcanistMergeConflictLinter.php
@@ -8,6 +8,14 @@
final class ArcanistMergeConflictLinter extends ArcanistLinter {
const LINT_MERGECONFLICT = 1;
+ public function getLinterName() {
+ return 'MERGECONFLICT';
+ }
+
+ public function getLinterConfigurationName() {
+ return 'merge-conflict';
+ }
+
public function willLintPaths(array $paths) {
return;
}
@@ -23,24 +31,20 @@
$lineno + 1,
0,
self::LINT_MERGECONFLICT,
- "This syntax indicates there is an unresolved merge conflict.");
+ 'This syntax indicates there is an unresolved merge conflict.');
}
}
}
- public function getLinterName() {
- return "MERGECONFLICT";
- }
-
public function getLintSeverityMap() {
return array(
- self::LINT_MERGECONFLICT => ArcanistLintSeverity::SEVERITY_ERROR
+ self::LINT_MERGECONFLICT => ArcanistLintSeverity::SEVERITY_ERROR,
);
}
public function getLintNameMap() {
return array(
- self::LINT_MERGECONFLICT => "Unresolved merge conflict"
+ self::LINT_MERGECONFLICT => 'Unresolved merge conflict',
);
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 27, 2:32 PM (9 h, 24 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6932124
Default Alt Text
D9039.diff (1 KB)
Attached To
Mode
D9039: Modernize `ArcanistMergeConflictLinter`.
Attached
Detach File
Event Timeline
Log In to Comment