Skip to content

Commit 54f8aa8

Browse files
committedDec 9, 2014
Minor linter fixes
Summary: Self explanatory Test Plan: `arc lint` Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D10946
1 parent e3f9994 commit 54f8aa8

File tree

3 files changed

+7
-12
lines changed

3 files changed

+7
-12
lines changed
 

‎scripts/sql/manage_storage.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
'Disable utf8mb4, even if the database supports it. This is an '.
7171
'advanced feature used for testing changes to Phabricator; you '.
7272
'should not normally use this flag.'),
73-
)
73+
),
7474
));
7575
} catch (PhutilArgumentUsageException $ex) {
7676
$args->printUsageException($ex);

‎src/applications/people/lipsum/PhabricatorPeopleTestDataGenerator.php

+5-10
Original file line numberDiff line numberDiff line change
@@ -46,44 +46,39 @@ protected function generateUsername($random_real_name) {
4646
foreach ($words as $w) {
4747
if ($w == end($words)) {
4848
$reduced .= $w;
49-
}
50-
else {
49+
} else {
5150
$reduced .= $w[0];
5251
}
5352
}
5453
} else if ($random == 1) {
5554
foreach ($words as $w) {
5655
if ($w == $words[0]) {
5756
$reduced .= $w;
58-
}
59-
else {
57+
} else {
6058
$reduced .= $w[0];
6159
}
6260
}
6361
} else if ($random == 2) {
6462
foreach ($words as $w) {
6563
if ($w == $words[0] || $w == end($words)) {
6664
$reduced .= $w;
67-
}
68-
else {
65+
} else {
6966
$reduced .= $w[0];
7067
}
7168
}
7269
} else if ($random == 3) {
7370
foreach ($words as $w) {
7471
if ($w == $words[0] || $w == end($words)) {
7572
$reduced .= $w;
76-
}
77-
else {
73+
} else {
7874
$reduced .= $w[0].'.';
7975
}
8076
}
8177
} else if ($random == 4) {
8278
foreach ($words as $w) {
8379
if ($w == $words[0] || $w == end($words)) {
8480
$reduced .= $w;
85-
}
86-
else {
81+
} else {
8782
$reduced .= $w[0].'_';
8883
}
8984
}

‎src/applications/releeph/conduit/ReleephQueryRequestsConduitAPIMethod.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ protected function execute(ConduitAPIRequest $conduit_request) {
5656
$object = $releephRequest->getRequestedObject();
5757
if ($object instanceof DifferentialRevision) {
5858
$object_phid = $object->getPHID();
59-
} else {
59+
} else {
6060
$object_phid = null;
6161
}
6262

0 commit comments

Comments
 (0)
Failed to load comments.