]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Fixed typos
authorPascal Borreli <pascal@borreli.com>
Sun, 20 Oct 2013 14:41:48 +0000 (14:41 +0000)
committerepriestley <git@epriestley.com>
Sun, 20 Oct 2013 14:53:23 +0000 (07:53 -0700)
See: https://github.com/facebook/arcanist/pull/110

Reviewed by: epriestley

src/lint/linter/ArcanistXHPASTLinter.php
src/lint/linter/__tests__/ArcanistLinterTestCase.php
src/unit/engine/ArcanistBaseTestResultParser.php
src/unit/engine/ArcanistXUnitTestResultParser.php
src/unit/engine/PhpunitTestEngine.php
src/workflow/ArcanistDiffWorkflow.php

index 9735e249befb276b80d0b176c1b735c2267c15fb..556f33ee96800df9714eff2156e80e7c57511e4b 100644 (file)
@@ -1642,7 +1642,7 @@ final class ArcanistXHPASTLinter extends ArcanistBaseXHPASTLinter {
       // their declaration if they're invalid and they may not conform to
       // variable rules. This is slightly overbroad (includes the entire
       // rhs of a "Class::..." token) to cover cases like "Class:$x[0]". These
-      // varaibles are simply made exempt from naming conventions.
+      // variables are simply made exempt from naming conventions.
       $exclude_tokens = array();
       $statics = $def->selectDescendantsOfType('n_CLASS_STATIC_ACCESS');
       foreach ($statics as $static) {
index ea3c93c50cfd3bb34ee2583ee787c955b7aae6a9..8be89b88a8fe163b5d6b97101afece3c340f15c6 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /**
- * Facilitiates implementation of test cases for @{class:ArcanistLinter}s.
+ * Facilitates implementation of test cases for @{class:ArcanistLinter}s.
  *
  * @group testcase
  */
index 11389abe94260378fb8f6eb1363ae23467876586..97eea3710f6b4583756313ceff4ac9bd7ac838cb 100644 (file)
@@ -7,7 +7,7 @@ abstract class ArcanistBaseTestResultParser {
 
   protected $enableCoverage;
   protected $projectRoot;
-  protected $coverateFile;
+  protected $coverageFile;
 
   public function setEnableCoverage($enable_coverage) {
     $this->enableCoverage = $enable_coverage;
index a3fdacf85679466f61446c8ffe39c46b14247cca..39a2ab97ab090be1d546484d604ec771ab3357d3 100644 (file)
@@ -11,7 +11,6 @@ final class ArcanistXUnitTestResultParser {
    * Parse test results from provided input and return an array
    * of ArcanistUnitTestResult
    *
-   * @param string $path Path to test (Ignored)
    * @param string $test_results String containing test results
    *
    * @return array ArcanistUnitTestResult
index 02e284fd2fd80bb44489230638e56d2c18172fd0..55be1e8e0560838f5c2e1d24ad33aba321539d83 100644 (file)
@@ -99,7 +99,7 @@ final class PhpunitTestEngine extends ArcanistBaseUnitTestEngine {
    * Parse test results from phpunit json report
    *
    * @param string $path Path to test
-   * @param string $json_path Path to phpunit json report
+   * @param string $json_tmp Path to phpunit json report
    * @param string $clover_tmp Path to phpunit clover report
    *
    * @return array
index 5bf13e8d1727cf470cf5c925ac1fcf23c6bd570d..a5a706528aa45f61b0c5605baf42553d7cce79d2 100644 (file)
@@ -1067,7 +1067,7 @@ EOTEXT
         "You can learn more about how Phabricator handles character encodings ".
         "(and how to configure encoding settings and detect and correct ".
         "encoding problems) by reading 'User Guide: UTF-8 and Character ".
-        "Encoding' in the Phabricator documentation.\n\n";
+        "Encoding' in the Phabricator documentation.\n\n".
         "    ".pht('AFFECTED FILE(S)', count($utf8_problems))."\n";
       $confirm = pht(
         'Do you want to mark these files as binary and continue?',