Page MenuHomePhorge

D25126.1732527545.diff
No OneTemporary

D25126.1732527545.diff

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
@@ -203,7 +203,7 @@
* @task lint
*/
public function lintPath($path) {
- $output = idx($this->output, $path);
+ $output = idx($this->output, $path, '');
if (!strlen($output)) {
// No output, but it exited 0, so just move on.
return;
@@ -337,7 +337,7 @@
return array($line + 1, $char + 1);
}
- $line = idx($match, 'line');
+ $line = idx($match, 'line', '');
if (strlen($line)) {
$line = (int)$line;
if (!$line) {
@@ -376,7 +376,7 @@
'disabled' => ArcanistLintSeverity::SEVERITY_DISABLED,
);
- $severity_name = strtolower(idx($match, 'severity'));
+ $severity_name = strtolower(idx($match, 'severity', ''));
foreach ($map as $name => $severity) {
if (!empty($match[$name])) {

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 25, 09:39 (2 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
994594
Default Alt Text
D25126.1732527545.diff (1006 B)

Event Timeline