Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2644291
D25126.1732295103.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
519 B
Referenced Files
None
Subscribers
None
D25126.1732295103.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 (!isset($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:05 (11 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
988778
Default Alt Text
D25126.1732295103.diff (519 B)
Attached To
Mode
D25126: Fix early exit from getMatchSeverity on null severity
Attached
Detach File
Event Timeline
Log In to Comment