1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-02-16 16:58:38 +01:00

Fixed typos

See: https://github.com/facebook/arcanist/pull/110

Reviewed by: epriestley
This commit is contained in:
Pascal Borreli 2013-10-20 14:41:48 +00:00 committed by epriestley
parent 2c64f1b072
commit 831fc9a92b
6 changed files with 5 additions and 6 deletions

View file

@ -1642,7 +1642,7 @@ final class ArcanistXHPASTLinter extends ArcanistBaseXHPASTLinter {
// their declaration if they're invalid and they may not conform to // their declaration if they're invalid and they may not conform to
// variable rules. This is slightly overbroad (includes the entire // variable rules. This is slightly overbroad (includes the entire
// rhs of a "Class::..." token) to cover cases like "Class:$x[0]". These // 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(); $exclude_tokens = array();
$statics = $def->selectDescendantsOfType('n_CLASS_STATIC_ACCESS'); $statics = $def->selectDescendantsOfType('n_CLASS_STATIC_ACCESS');
foreach ($statics as $static) { foreach ($statics as $static) {

View file

@ -1,7 +1,7 @@
<?php <?php
/** /**
* Facilitiates implementation of test cases for @{class:ArcanistLinter}s. * Facilitates implementation of test cases for @{class:ArcanistLinter}s.
* *
* @group testcase * @group testcase
*/ */

View file

@ -7,7 +7,7 @@ abstract class ArcanistBaseTestResultParser {
protected $enableCoverage; protected $enableCoverage;
protected $projectRoot; protected $projectRoot;
protected $coverateFile; protected $coverageFile;
public function setEnableCoverage($enable_coverage) { public function setEnableCoverage($enable_coverage) {
$this->enableCoverage = $enable_coverage; $this->enableCoverage = $enable_coverage;

View file

@ -11,7 +11,6 @@ final class ArcanistXUnitTestResultParser {
* Parse test results from provided input and return an array * Parse test results from provided input and return an array
* of ArcanistUnitTestResult * of ArcanistUnitTestResult
* *
* @param string $path Path to test (Ignored)
* @param string $test_results String containing test results * @param string $test_results String containing test results
* *
* @return array ArcanistUnitTestResult * @return array ArcanistUnitTestResult

View file

@ -99,7 +99,7 @@ final class PhpunitTestEngine extends ArcanistBaseUnitTestEngine {
* Parse test results from phpunit json report * Parse test results from phpunit json report
* *
* @param string $path Path to test * @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 * @param string $clover_tmp Path to phpunit clover report
* *
* @return array * @return array

View file

@ -1067,7 +1067,7 @@ EOTEXT
"You can learn more about how Phabricator handles character encodings ". "You can learn more about how Phabricator handles character encodings ".
"(and how to configure encoding settings and detect and correct ". "(and how to configure encoding settings and detect and correct ".
"encoding problems) by reading 'User Guide: UTF-8 and Character ". "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"; " ".pht('AFFECTED FILE(S)', count($utf8_problems))."\n";
$confirm = pht( $confirm = pht(
'Do you want to mark these files as binary and continue?', 'Do you want to mark these files as binary and continue?',