From 3498d6adfc0f276b1bd79af9a2067f4a16641558 Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Tue, 10 Feb 2015 06:57:10 +1100 Subject: [PATCH] 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 --- src/__phutil_library_map__.php | 4 ++-- ...rLikeLintRenderer.php => ArcanistCompilerLintRenderer.php} | 2 +- src/workflow/ArcanistLintWorkflow.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename src/lint/renderer/{ArcanistCompilerLikeLintRenderer.php => ArcanistCompilerLintRenderer.php} (90%) diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php index c3368776..7381b1fa 100644 --- a/src/__phutil_library_map__.php +++ b/src/__phutil_library_map__.php @@ -43,7 +43,7 @@ phutil_register_library_map(array( 'ArcanistCommitLinter' => 'lint/linter/ArcanistCommitLinter.php', 'ArcanistCommitLinterTestCase' => 'lint/linter/__tests__/ArcanistCommitLinterTestCase.php', 'ArcanistCommitWorkflow' => 'workflow/ArcanistCommitWorkflow.php', - 'ArcanistCompilerLikeLintRenderer' => 'lint/renderer/ArcanistCompilerLikeLintRenderer.php', + 'ArcanistCompilerLintRenderer' => 'lint/renderer/ArcanistCompilerLintRenderer.php', 'ArcanistConduitLinter' => 'lint/linter/ArcanistConduitLinter.php', 'ArcanistConfiguration' => 'configuration/ArcanistConfiguration.php', 'ArcanistConfigurationDrivenLintEngine' => 'lint/engine/ArcanistConfigurationDrivenLintEngine.php', @@ -250,7 +250,7 @@ phutil_register_library_map(array( 'ArcanistCommitLinter' => 'ArcanistLinter', 'ArcanistCommitLinterTestCase' => 'ArcanistLinterTestCase', 'ArcanistCommitWorkflow' => 'ArcanistWorkflow', - 'ArcanistCompilerLikeLintRenderer' => 'ArcanistLintRenderer', + 'ArcanistCompilerLintRenderer' => 'ArcanistLintRenderer', 'ArcanistConduitLinter' => 'ArcanistLinter', 'ArcanistConfigurationDrivenLintEngine' => 'ArcanistLintEngine', 'ArcanistConsoleLintRenderer' => 'ArcanistLintRenderer', diff --git a/src/lint/renderer/ArcanistCompilerLikeLintRenderer.php b/src/lint/renderer/ArcanistCompilerLintRenderer.php similarity index 90% rename from src/lint/renderer/ArcanistCompilerLikeLintRenderer.php rename to src/lint/renderer/ArcanistCompilerLintRenderer.php index 0a14ebee..264750b1 100644 --- a/src/lint/renderer/ArcanistCompilerLikeLintRenderer.php +++ b/src/lint/renderer/ArcanistCompilerLintRenderer.php @@ -3,7 +3,7 @@ /** * Shows lint messages to the user. */ -final class ArcanistCompilerLikeLintRenderer extends ArcanistLintRenderer { +final class ArcanistCompilerLintRenderer extends ArcanistLintRenderer { public function renderLintResult(ArcanistLintResult $result) { $lines = array(); diff --git a/src/workflow/ArcanistLintWorkflow.php b/src/workflow/ArcanistLintWorkflow.php index 20f636a6..187a0fac 100644 --- a/src/workflow/ArcanistLintWorkflow.php +++ b/src/workflow/ArcanistLintWorkflow.php @@ -437,7 +437,7 @@ EOTEXT $renderer = new ArcanistNoneLintRenderer(); break; case 'compiler': - $renderer = new ArcanistCompilerLikeLintRenderer(); + $renderer = new ArcanistCompilerLintRenderer(); $prompt_patches = false; $apply_patches = $this->getArgument('apply-patches'); break; -- 2.43.0