diff --git a/src/workflow/ArcanistLintersWorkflow.php b/src/workflow/ArcanistLintersWorkflow.php index a521a586..3c7d5606 100644 --- a/src/workflow/ArcanistLintersWorkflow.php +++ b/src/workflow/ArcanistLintersWorkflow.php @@ -104,8 +104,8 @@ EOTEXT $console->writeOut( "** %s ** **%s** (%s)\n", $text, - nonempty($linter['short'], '-'), - $linter['name']); + nonempty($linter['name'], '-'), + $linter['short']); if ($linter['exception']) { $console->writeOut( @@ -241,11 +241,11 @@ EOTEXT } $linter_info[$key] = array( - 'short' => $linter->getLinterConfigurationName(), + 'name' => $linter->getLinterConfigurationName(), 'class' => get_class($linter), 'status' => $status, 'version' => $version, - 'name' => $linter->getInfoName(), + 'short' => $linter->getInfoName(), 'uri' => $linter->getInfoURI(), 'description' => $linter->getInfoDescription(), 'exception' => $exception,