3 files changed +7
-12
lines changed Original file line number Diff line number Diff line change 70
70
'Disable utf8mb4, even if the database supports it. This is an ' .
71
71
'advanced feature used for testing changes to Phabricator; you ' .
72
72
'should not normally use this flag. ' ),
73
- )
73
+ ),
74
74
));
75
75
} catch (PhutilArgumentUsageException $ ex ) {
76
76
$ args ->printUsageException ($ ex );
Original file line number Diff line number Diff line change @@ -46,44 +46,39 @@ protected function generateUsername($random_real_name) {
46
46
foreach ($ words as $ w ) {
47
47
if ($ w == end ($ words )) {
48
48
$ reduced .= $ w ;
49
- }
50
- else {
49
+ } else {
51
50
$ reduced .= $ w [0 ];
52
51
}
53
52
}
54
53
} else if ($ random == 1 ) {
55
54
foreach ($ words as $ w ) {
56
55
if ($ w == $ words [0 ]) {
57
56
$ reduced .= $ w ;
58
- }
59
- else {
57
+ } else {
60
58
$ reduced .= $ w [0 ];
61
59
}
62
60
}
63
61
} else if ($ random == 2 ) {
64
62
foreach ($ words as $ w ) {
65
63
if ($ w == $ words [0 ] || $ w == end ($ words )) {
66
64
$ reduced .= $ w ;
67
- }
68
- else {
65
+ } else {
69
66
$ reduced .= $ w [0 ];
70
67
}
71
68
}
72
69
} else if ($ random == 3 ) {
73
70
foreach ($ words as $ w ) {
74
71
if ($ w == $ words [0 ] || $ w == end ($ words )) {
75
72
$ reduced .= $ w ;
76
- }
77
- else {
73
+ } else {
78
74
$ reduced .= $ w [0 ].'. ' ;
79
75
}
80
76
}
81
77
} else if ($ random == 4 ) {
82
78
foreach ($ words as $ w ) {
83
79
if ($ w == $ words [0 ] || $ w == end ($ words )) {
84
80
$ reduced .= $ w ;
85
- }
86
- else {
81
+ } else {
87
82
$ reduced .= $ w [0 ].'_ ' ;
88
83
}
89
84
}
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ protected function execute(ConduitAPIRequest $conduit_request) {
56
56
$ object = $ releephRequest ->getRequestedObject ();
57
57
if ($ object instanceof DifferentialRevision) {
58
58
$ object_phid = $ object ->getPHID ();
59
- } else {
59
+ } else {
60
60
$ object_phid = null ;
61
61
}
62
62
0 commit comments