Test Setup Failed
Push — master ( 26b5ea...a2420e )
by Michael
16:50 queued 12s
created
includes/Helpers/LogHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -323,7 +323,7 @@
 block discarded – undo
323 323
                 $taskDescriptions = JobQueue::getTaskDescriptions();
324 324
 
325 325
                 $task = $job->getTask();
326
-                if(isset($taskDescriptions[$task])){
326
+                if (isset($taskDescriptions[$task])) {
327 327
                     $description = $taskDescriptions[$task];
328 328
                 } else {
329 329
                     $description = 'Unknown task';
Please login to merge, or discard this patch.
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.