diff --git a/src/unit/engine/PhpunitTestEngine.php b/src/unit/engine/PhpunitTestEngine.php --- a/src/unit/engine/PhpunitTestEngine.php +++ b/src/unit/engine/PhpunitTestEngine.php @@ -267,8 +267,7 @@ if ($bin) { if (Filesystem::binaryExists($bin)) { $this->phpunitBinary = $bin; - } - else { + } else { $this->phpunitBinary = Filesystem::resolvePath($bin, $project_root); } } diff --git a/src/unit/engine/PytestTestEngine.php b/src/unit/engine/PytestTestEngine.php --- a/src/unit/engine/PytestTestEngine.php +++ b/src/unit/engine/PytestTestEngine.php @@ -121,8 +121,7 @@ if (intval($line->getAttribute('hits')) == 0) { $coverage .= 'U'; - } - else if (intval($line->getAttribute('hits')) > 0) { + } else if (intval($line->getAttribute('hits')) > 0) { $coverage .= 'C'; } diff --git a/src/workflow/ArcanistBackoutWorkflow.php b/src/workflow/ArcanistBackoutWorkflow.php --- a/src/workflow/ArcanistBackoutWorkflow.php +++ b/src/workflow/ArcanistBackoutWorkflow.php @@ -68,8 +68,7 @@ if (!$commits) { throw new ArcanistUsageException( 'This revision has not been committed yet!'); - } - else if (count($commits) > 1) { + } else if (count($commits) > 1) { throw new ArcanistUsageException( 'The revision you provided has multiple commits!'); }