Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13998710
D10475.id25195.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
652 B
Referenced Files
None
Subscribers
None
D10475.id25195.diff
View Options
diff --git a/src/lint/linter/ArcanistLinter.php b/src/lint/linter/ArcanistLinter.php
--- a/src/lint/linter/ArcanistLinter.php
+++ b/src/lint/linter/ArcanistLinter.php
@@ -192,17 +192,17 @@
return $map[$code];
}
- $map = $this->getLintSeverityMap();
- if (isset($map[$code])) {
- return $map[$code];
- }
-
foreach ($this->customSeverityRules as $rule => $severity) {
if (preg_match($rule, $code)) {
return $severity;
}
}
+ $map = $this->getLintSeverityMap();
+ if (isset($map[$code])) {
+ return $map[$code];
+ }
+
return $this->getDefaultMessageSeverity($code);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Oct 25, 10:49 AM (2 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6729856
Default Alt Text
D10475.id25195.diff (652 B)
Attached To
Mode
D10475: Fix custom severity rules not being applied
Attached
Detach File
Event Timeline
Log In to Comment