Completed
Push — bugsquish ( 64e9a0 )
by Simon
04:36
created
includes/Tasks/PageBase.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -319,8 +319,8 @@
 block discarded – undo
319 319
      *
320 320
      * @param string $path The path (relative to the application root) of the file
321 321
      */
322
-    final protected function addJs($path){
323
-        if(in_array($path, $this->extraJs)){
322
+    final protected function addJs($path) {
323
+        if (in_array($path, $this->extraJs)) {
324 324
             // nothing to do
325 325
             return;
326 326
         }
Please login to merge, or discard this patch.
includes/ConsoleTasks/RunJobQueueTask.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
                 // Create a task.
86 86
                 $taskName = $job->getTask();
87 87
 
88
-                if(!class_exists($taskName)) {
88
+                if (!class_exists($taskName)) {
89 89
                     throw new ApplicationLogicException('Job task does not exist');
90 90
                 }
91 91
 
Please login to merge, or discard this patch.
includes/Pages/PageViewRequest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -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.