1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-26 00:32:41 +01:00

Rename ArcanistCompilerLikeLintRenderer

Summary: Ref T5655. "Compiler-like" seems a bit odd to me.

Test Plan: `arc lint` + `arc unit`

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T5655

Differential Revision: https://secure.phabricator.com/D11670
This commit is contained in:
Joshua Spence 2015-02-10 06:57:10 +11:00
parent f13b7d73d0
commit 3498d6adfc
3 changed files with 4 additions and 4 deletions

View file

@ -43,7 +43,7 @@ phutil_register_library_map(array(
'ArcanistCommitLinter' => 'lint/linter/ArcanistCommitLinter.php', 'ArcanistCommitLinter' => 'lint/linter/ArcanistCommitLinter.php',
'ArcanistCommitLinterTestCase' => 'lint/linter/__tests__/ArcanistCommitLinterTestCase.php', 'ArcanistCommitLinterTestCase' => 'lint/linter/__tests__/ArcanistCommitLinterTestCase.php',
'ArcanistCommitWorkflow' => 'workflow/ArcanistCommitWorkflow.php', 'ArcanistCommitWorkflow' => 'workflow/ArcanistCommitWorkflow.php',
'ArcanistCompilerLikeLintRenderer' => 'lint/renderer/ArcanistCompilerLikeLintRenderer.php', 'ArcanistCompilerLintRenderer' => 'lint/renderer/ArcanistCompilerLintRenderer.php',
'ArcanistConduitLinter' => 'lint/linter/ArcanistConduitLinter.php', 'ArcanistConduitLinter' => 'lint/linter/ArcanistConduitLinter.php',
'ArcanistConfiguration' => 'configuration/ArcanistConfiguration.php', 'ArcanistConfiguration' => 'configuration/ArcanistConfiguration.php',
'ArcanistConfigurationDrivenLintEngine' => 'lint/engine/ArcanistConfigurationDrivenLintEngine.php', 'ArcanistConfigurationDrivenLintEngine' => 'lint/engine/ArcanistConfigurationDrivenLintEngine.php',
@ -250,7 +250,7 @@ phutil_register_library_map(array(
'ArcanistCommitLinter' => 'ArcanistLinter', 'ArcanistCommitLinter' => 'ArcanistLinter',
'ArcanistCommitLinterTestCase' => 'ArcanistLinterTestCase', 'ArcanistCommitLinterTestCase' => 'ArcanistLinterTestCase',
'ArcanistCommitWorkflow' => 'ArcanistWorkflow', 'ArcanistCommitWorkflow' => 'ArcanistWorkflow',
'ArcanistCompilerLikeLintRenderer' => 'ArcanistLintRenderer', 'ArcanistCompilerLintRenderer' => 'ArcanistLintRenderer',
'ArcanistConduitLinter' => 'ArcanistLinter', 'ArcanistConduitLinter' => 'ArcanistLinter',
'ArcanistConfigurationDrivenLintEngine' => 'ArcanistLintEngine', 'ArcanistConfigurationDrivenLintEngine' => 'ArcanistLintEngine',
'ArcanistConsoleLintRenderer' => 'ArcanistLintRenderer', 'ArcanistConsoleLintRenderer' => 'ArcanistLintRenderer',

View file

@ -3,7 +3,7 @@
/** /**
* Shows lint messages to the user. * Shows lint messages to the user.
*/ */
final class ArcanistCompilerLikeLintRenderer extends ArcanistLintRenderer { final class ArcanistCompilerLintRenderer extends ArcanistLintRenderer {
public function renderLintResult(ArcanistLintResult $result) { public function renderLintResult(ArcanistLintResult $result) {
$lines = array(); $lines = array();

View file

@ -437,7 +437,7 @@ EOTEXT
$renderer = new ArcanistNoneLintRenderer(); $renderer = new ArcanistNoneLintRenderer();
break; break;
case 'compiler': case 'compiler':
$renderer = new ArcanistCompilerLikeLintRenderer(); $renderer = new ArcanistCompilerLintRenderer();
$prompt_patches = false; $prompt_patches = false;
$apply_patches = $this->getArgument('apply-patches'); $apply_patches = $this->getArgument('apply-patches');
break; break;