Page MenuHomePhabricator

D10943.diff
No OneTemporary

D10943.diff

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!');
}

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 9, 1:01 AM (4 d, 1 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6735106
Default Alt Text
D10943.diff (1 KB)

Event Timeline