mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 14:52:40 +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:
parent
8f3a002cdb
commit
bdab422440
1 changed files with 4 additions and 4 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue