mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-26 00:32:41 +01:00
Fixed typos
See: https://github.com/facebook/arcanist/pull/110 Reviewed by: epriestley
This commit is contained in:
parent
2c64f1b072
commit
831fc9a92b
6 changed files with 5 additions and 6 deletions
|
@ -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) {
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -7,7 +7,7 @@ abstract class ArcanistBaseTestResultParser {
|
|||
|
||||
protected $enableCoverage;
|
||||
protected $projectRoot;
|
||||
protected $coverateFile;
|
||||
protected $coverageFile;
|
||||
|
||||
public function setEnableCoverage($enable_coverage) {
|
||||
$this->enableCoverage = $enable_coverage;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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?',
|
||||
|
|
Loading…
Reference in a new issue