Passed
Push — main ( ca1606...673ae4 )
by MusikAnimal
05:42 queued 01:43
created
src/Controller/PageInfoController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -291,10 +291,10 @@  discard block
 block discarded – undo
291 291
         }
292 292
 
293 293
         $this->addApiWarningAboutDates(['created_at', 'modified_at']);
294
-        $this->addFlash('warning', 'In XTools 3.20, the author and author_editcount properties will be ' .
294
+        $this->addFlash('warning', 'In XTools 3.20, the author and author_editcount properties will be '.
295 295
             'renamed to creator and creator_editcount, respectively.');
296 296
         $this->addFlash('warning', 'In XTools 3.20, the last_edit_id property will be renamed to modified_rev_id');
297
-        $this->addFlash('warning', 'In XTools 3.20, the watchers property will return null instead of 0 ' .
297
+        $this->addFlash('warning', 'In XTools 3.20, the watchers property will return null instead of 0 '.
298 298
             'if the number of page watchers is unknown.');
299 299
         return $this->getFormattedApiResponse($data);
300 300
     }
@@ -367,7 +367,7 @@  discard block
 block discarded – undo
367 367
         $responseCode = Response::HTTP_OK;
368 368
         $this->recordApiUsage('page/prose');
369 369
         $this->setupPageInfo($pageInfoRepo, $autoEditsHelper);
370
-        $this->addFlash('info', 'The algorithm used by this API has recently changed. ' .
370
+        $this->addFlash('info', 'The algorithm used by this API has recently changed. '.
371 371
             'See https://www.mediawiki.org/wiki/XTools/Page_History#Prose for details.');
372 372
         $ret = $this->pageInfo->getProseStats();
373 373
         if (null === $ret) {
Please login to merge, or discard this patch.
src/Controller/TopEditsController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
         // Send all to the template.
177 177
         return $this->getFormattedResponse('topedits/result_page', [
178 178
             'xtPage' => 'TopEdits',
179
-            'xtTitle' => $this->user->getUsername() . ' - ' . $this->page->getTitle(),
179
+            'xtTitle' => $this->user->getUsername().' - '.$this->page->getTitle(),
180 180
             'te' => $topEdits,
181 181
         ]);
182 182
     }
@@ -316,7 +316,7 @@  discard block
 block discarded – undo
316 316
 
317 317
         $this->addApiWarningAboutDates(['timestamp']);
318 318
         if (false !== strpos($this->page->getTitle(true), '_')) {
319
-            $this->addFlash('warning', 'In XTools 3.20, the page property will be returned ' .
319
+            $this->addFlash('warning', 'In XTools 3.20, the page property will be returned '.
320 320
                 'with spaces instead of underscores.');
321 321
         }
322 322
         return $this->getFormattedApiResponse([
Please login to merge, or discard this patch.