Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13979421
D10943.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D10943.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sun, Oct 20, 4:24 AM (3 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6735106
Default Alt Text
D10943.diff (1 KB)
Attached To
Mode
D10943: Minor linter fixes
Attached
Detach File
Event Timeline
Log In to Comment