1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-09 16:32:39 +01:00

Various linter fixes

Summary:
Fixed various linter issues that were identified by running `arc lint --everything`.

- Removed trailing whitespace.
- Added newline at EOF.
- Added whitespace after `if` statement

Test Plan: N/A

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley

CC: aurelijus, Korvin, epriestley, aran

Differential Revision: https://secure.phabricator.com/D8337
This commit is contained in:
Joshua Spence 2014-02-25 07:53:06 -08:00 committed by epriestley
parent a11421ee8e
commit 9fbf316d38
3 changed files with 3 additions and 3 deletions

View file

@ -53,4 +53,4 @@ exit($x);
include($x); include($x);
include_once($x); include_once($x);
require($x); require($x);
require_once($x); require_once($x);

View file

@ -278,7 +278,7 @@ final class ArcanistScriptAndRegexLinter extends ArcanistLinter {
public function getLinterConfigurationName() { public function getLinterConfigurationName() {
return 'script-and-regex'; return 'script-and-regex';
} }
/* -( Parsing Output )----------------------------------------------------- */ /* -( Parsing Output )----------------------------------------------------- */

View file

@ -58,7 +58,7 @@ final class PhpunitTestEngine extends ArcanistBaseUnitTestEngine {
$futures = array(); $futures = array();
$tmpfiles = array(); $tmpfiles = array();
foreach ($this->affectedTests as $class_path => $test_path) { foreach ($this->affectedTests as $class_path => $test_path) {
if(!Filesystem::pathExists($test_path)) { if (!Filesystem::pathExists($test_path)) {
continue; continue;
} }
$json_tmp = new TempFile(); $json_tmp = new TempFile();