]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Rename `ArcanistCompilerLikeLintRenderer`
authorJoshua Spence <josh@joshuaspence.com>
Mon, 9 Feb 2015 19:57:10 +0000 (06:57 +1100)
committerJoshua Spence <josh@joshuaspence.com>
Mon, 9 Feb 2015 19:57:10 +0000 (06:57 +1100)
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
src/lint/renderer/ArcanistCompilerLintRenderer.php [moved from src/lint/renderer/ArcanistCompilerLikeLintRenderer.php with 90% similarity]
src/workflow/ArcanistLintWorkflow.php

index c33687765a4c2e6cea5494a89edeb44c6affaea7..7381b1fa718e64733a0ae9c48b36acc6a8dd6dd8 100644 (file)
@@ -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',
similarity index 90%
rename from src/lint/renderer/ArcanistCompilerLikeLintRenderer.php
rename to src/lint/renderer/ArcanistCompilerLintRenderer.php
index 0a14ebee83db73f7fefbfc6edc657d9e2bd5fc8d..264750b163d454ceeb82c3c75052d2b32396ab9b 100644 (file)
@@ -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();
index 20f636a659e3bbf594f5201b519fcda527f672c2..187a0facdb9663faea3a90ff7c871124b1528ba2 100644 (file)
@@ -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;