1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-12-23 14:00:55 +01:00

arc linters: switch name and short

Summary: I think they were wrong.

Test Plan: `arc linters nolint`. It would fail without it.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, #lint

Differential Revision: https://secure.phabricator.com/D14084
This commit is contained in:
Aviv Eyal 2015-09-08 10:39:26 -07:00 committed by epriestley
parent 8f3a002cdb
commit bdab422440

View file

@ -104,8 +104,8 @@ EOTEXT
$console->writeOut(
"<bg:".$color.">** %s **</bg> **%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,