From: Joshua Spence Date: Mon, 9 Feb 2015 19:57:10 +0000 (+1100) Subject: Rename `ArcanistCompilerLikeLintRenderer` X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=3498d6adfc0f276b1bd79af9a2067f4a16641558;p=arcanist.git 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 --- 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;