Passed
Push — search ( de462e...bdb480 )
by Simon
18:54 queued 15:52
created
includes/Pages/PageLog.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
             $userObj = User::getByUsername($filterUser, $database);
44 44
             if ($userObj !== false) {
45 45
                 $logSearch->byUser($userObj->getId());
46
-            } 
46
+            }
47 47
             else {
48 48
                 $logSearch->byUser(-1);
49 49
             }
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/Pages/Statistics/StatsUsers.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
150 150
         if ($user->getForceIdentified() === null) {
151 151
             $idVerifier = new IdentificationVerifier($this->getHttpHelper(), $this->getSiteConfiguration(), $this->getDatabase());
152 152
             $this->assign('identificationStatus', $idVerifier->isUserIdentified($user->getOnWikiName()) ? 'detected' : 'missing');
153
-        } 
153
+        }
154 154
         else {
155 155
             $this->assign('identificationStatus', $user->getForceIdentified() == 1 ? 'forced-on' : 'forced-off');
156 156
         }
Please login to merge, or discard this patch.
includes/Pages/PageViewRequest.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -225,7 +225,7 @@
 block discarded – undo
225 225
                         'jobId'    => $job->getId(),
226 226
                         'jobDesc'  => JobQueue::getTaskDescriptions()[$job->getTask()],
227 227
                     );
228
-                } 
228
+                }
229 229
                 else {
230 230
                     $requestLogs[] = array(
231 231
                         'type'     => 'log',
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.