Completed
Pull Request — newinternal-releasecandidate (#559)
by Simon
16:15 queued 12:01
created
includes/Pages/PageEditComment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
             $this->validateCSRFToken();
58 58
             $newComment = WebRequest::postString('newcomment');
59 59
 
60
-            if($comment ->getVisibility() !== 'requester') {
60
+            if ($comment ->getVisibility() !== 'requester') {
61 61
                 $visibility = WebRequest::postString('visibility');
62 62
 
63 63
                 if ($visibility !== 'user' && $visibility !== 'admin') {
Please login to merge, or discard this patch.
includes/Pages/PageViewRequest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
             }
116 116
         }
117 117
 
118
-        $this->setHtmlTitle($statusSymbol . ' #' . $request->getId());
118
+        $this->setHtmlTitle($statusSymbol.' #'.$request->getId());
119 119
     }
120 120
 
121 121
     /**
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
                 $requestLogs[] = array(
178 178
                     'type'     => 'comment',
179 179
                     'security' => $entry->getVisibility(),
180
-                    'user'     => $entry->getVisibility() == 'requester' ? $request->getName() :$nameCache[$entry->getUser()]->getUsername(),
180
+                    'user'     => $entry->getVisibility() == 'requester' ? $request->getName() : $nameCache[$entry->getUser()]->getUsername(),
181 181
                     'userid'   => $entry->getUser() == -1 ? null : $entry->getUser(),
182 182
                     'entry'    => null,
183 183
                     'time'     => $entry->getTime(),
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
 
194 194
                 $entryComment = $entry->getComment();
195 195
 
196
-                if($entry->getAction() === 'JobIssueRequest' || $entry->getAction() === 'JobCompletedRequest'){
196
+                if ($entry->getAction() === 'JobIssueRequest' || $entry->getAction() === 'JobCompletedRequest') {
197 197
                     $data = unserialize($entry->getComment());
198 198
                     /** @var JobQueue $job */
199 199
                     $job = JobQueue::getById($data['job'], $database);
Please login to merge, or discard this patch.