Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2644288
D25126.1732294992.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
518 B
Referenced Files
None
Subscribers
None
D25126.1732294992.diff
View Options
diff --git a/src/lint/linter/ArcanistScriptAndRegexLinter.php b/src/lint/linter/ArcanistScriptAndRegexLinter.php
--- a/src/lint/linter/ArcanistScriptAndRegexLinter.php
+++ b/src/lint/linter/ArcanistScriptAndRegexLinter.php
@@ -376,6 +376,9 @@
'disabled' => ArcanistLintSeverity::SEVERITY_DISABLED,
);
+ if (empty($match['severity'])) {
+ return ArcanistLintSeverity::SEVERITY_ERROR;
+ }
$severity_name = strtolower(idx($match, 'severity'));
foreach ($map as $name => $severity) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 22, 17:03 (12 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
989252
Default Alt Text
D25126.1732294992.diff (518 B)
Attached To
Mode
D25126: Fix early exit from getMatchSeverity on null severity
Attached
Detach File
Event Timeline
Log In to Comment