1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-22 06:42:42 +01:00

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
This commit is contained in:
Joshua Spence 2014-12-09 06:08:05 +11:00
parent e3f99947ac
commit 54f8aa8cd9
3 changed files with 7 additions and 12 deletions

View file

@ -70,7 +70,7 @@ try {
'Disable utf8mb4, even if the database supports it. This is an '.
'advanced feature used for testing changes to Phabricator; you '.
'should not normally use this flag.'),
)
),
));
} catch (PhutilArgumentUsageException $ex) {
$args->printUsageException($ex);

View file

@ -46,8 +46,7 @@ final class PhabricatorPeopleTestDataGenerator
foreach ($words as $w) {
if ($w == end($words)) {
$reduced .= $w;
}
else {
} else {
$reduced .= $w[0];
}
}
@ -55,8 +54,7 @@ final class PhabricatorPeopleTestDataGenerator
foreach ($words as $w) {
if ($w == $words[0]) {
$reduced .= $w;
}
else {
} else {
$reduced .= $w[0];
}
}
@ -64,8 +62,7 @@ final class PhabricatorPeopleTestDataGenerator
foreach ($words as $w) {
if ($w == $words[0] || $w == end($words)) {
$reduced .= $w;
}
else {
} else {
$reduced .= $w[0];
}
}
@ -73,8 +70,7 @@ final class PhabricatorPeopleTestDataGenerator
foreach ($words as $w) {
if ($w == $words[0] || $w == end($words)) {
$reduced .= $w;
}
else {
} else {
$reduced .= $w[0].'.';
}
}
@ -82,8 +78,7 @@ final class PhabricatorPeopleTestDataGenerator
foreach ($words as $w) {
if ($w == $words[0] || $w == end($words)) {
$reduced .= $w;
}
else {
} else {
$reduced .= $w[0].'_';
}
}