1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-22 06:42:41 +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_once($x);
require($x);
require_once($x);
require_once($x);

View file

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

View file

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