Passed
Push — custom-close-autocreate ( 87669d...bc5555 )
by Simon
07:18 queued 03:20
created
includes/Helpers/LogHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -361,7 +361,7 @@
 block discarded – undo
361 361
                 }
362 362
 
363 363
                 $task = $job->getTask();
364
-                if (isset($taskDescriptions[$task])){
364
+                if (isset($taskDescriptions[$task])) {
365 365
                     $description = $taskDescriptions[$task];
366 366
                 } 
367 367
                 else {
Please login to merge, or discard this patch.
includes/Tasks/PageBase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -321,7 +321,7 @@
 block discarded – undo
321 321
      */
322 322
     final protected function addJs($path)
323 323
     {
324
-        if (in_array($path, $this->extraJs)){
324
+        if (in_array($path, $this->extraJs)) {
325 325
             // nothing to do
326 326
             return;
327 327
         }
Please login to merge, or discard this patch.
includes/Pages/PageWelcomeTemplateManagement.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
         // <https://accounts.wmflabs.org/wiki/Help:Introduction>
123 123
         // The code currently assumes that the template was parsed for enwiki, and will need to be
124 124
         // updated once other wikis are supported.
125
-        $templateHtml = preg_replace('/(<a href=")(\/wiki\/)/', '$1//en.wikipedia.org$2', $templateHtml );
125
+        $templateHtml = preg_replace('/(<a href=")(\/wiki\/)/', '$1//en.wikipedia.org$2', $templateHtml);
126 126
 
127 127
         $this->assign('templateHtml', $templateHtml);
128 128
         $this->assign('template', $template);
Please login to merge, or discard this patch.
includes/API/Actions/CountAction.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -115,14 +115,14 @@
 block discarded – undo
115 115
         // Each entry is in the form [ database string, attribute name ]
116 116
         // and it happens to be that the attribute is just the lower case form of the database value
117 117
         $actions = [
118
-            ['Suspended', 'suspended' ],
119
-            ['Promoted', 'promoted' ],
120
-            ['Approved', 'approved' ],
121
-            ['Demoted', 'demoted' ],
122
-            ['Declined', 'declined' ],
123
-            ['Renamed', 'renamed' ],
124
-            ['Edited', 'edited' ],
125
-            ['Prefchange', 'prefchange' ],
118
+            ['Suspended', 'suspended'],
119
+            ['Promoted', 'promoted'],
120
+            ['Approved', 'approved'],
121
+            ['Demoted', 'demoted'],
122
+            ['Declined', 'declined'],
123
+            ['Renamed', 'renamed'],
124
+            ['Edited', 'edited'],
125
+            ['Prefchange', 'prefchange'],
126 126
         ];
127 127
         foreach ($actions as $action) {
128 128
             $dbValue = $action[0];
Please login to merge, or discard this patch.