From 831fc9a92b8e532d2559ffc2bf71bcd0096947a9 Mon Sep 17 00:00:00 2001 From: Pascal Borreli Date: Sun, 20 Oct 2013 14:41:48 +0000 Subject: [PATCH] Fixed typos See: https://github.com/facebook/arcanist/pull/110 Reviewed by: epriestley --- src/lint/linter/ArcanistXHPASTLinter.php | 2 +- src/lint/linter/__tests__/ArcanistLinterTestCase.php | 2 +- src/unit/engine/ArcanistBaseTestResultParser.php | 2 +- src/unit/engine/ArcanistXUnitTestResultParser.php | 1 - src/unit/engine/PhpunitTestEngine.php | 2 +- src/workflow/ArcanistDiffWorkflow.php | 2 +- 6 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/lint/linter/ArcanistXHPASTLinter.php b/src/lint/linter/ArcanistXHPASTLinter.php index 9735e249..556f33ee 100644 --- a/src/lint/linter/ArcanistXHPASTLinter.php +++ b/src/lint/linter/ArcanistXHPASTLinter.php @@ -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) { diff --git a/src/lint/linter/__tests__/ArcanistLinterTestCase.php b/src/lint/linter/__tests__/ArcanistLinterTestCase.php index ea3c93c5..8be89b88 100644 --- a/src/lint/linter/__tests__/ArcanistLinterTestCase.php +++ b/src/lint/linter/__tests__/ArcanistLinterTestCase.php @@ -1,7 +1,7 @@ enableCoverage = $enable_coverage; diff --git a/src/unit/engine/ArcanistXUnitTestResultParser.php b/src/unit/engine/ArcanistXUnitTestResultParser.php index a3fdacf8..39a2ab97 100644 --- a/src/unit/engine/ArcanistXUnitTestResultParser.php +++ b/src/unit/engine/ArcanistXUnitTestResultParser.php @@ -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 diff --git a/src/unit/engine/PhpunitTestEngine.php b/src/unit/engine/PhpunitTestEngine.php index 02e284fd..55be1e8e 100644 --- a/src/unit/engine/PhpunitTestEngine.php +++ b/src/unit/engine/PhpunitTestEngine.php @@ -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 diff --git a/src/workflow/ArcanistDiffWorkflow.php b/src/workflow/ArcanistDiffWorkflow.php index 5bf13e8d..a5a70652 100644 --- a/src/workflow/ArcanistDiffWorkflow.php +++ b/src/workflow/ArcanistDiffWorkflow.php @@ -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?',