Passed
Push — dev ( 4ef148...eba0dc )
by Dispositif
07:17
created
src/Application/ErrorReport.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
             ) > 0
30 30
         ) {
31 31
             // FIXED zizibot : des '<nowiki>' supplémentaires ajoutés à quelques rapports
32
-            return str_replace('<nowiki>','', $matches[1]);
32
+            return str_replace('<nowiki>', '', $matches[1]);
33 33
         }
34 34
 
35 35
         return null;
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      *
56 56
      * @return string
57 57
      */
58
-    public function deleteAllReports(string $text, ?string $botName='ZiziBotConfig'): string
58
+    public function deleteAllReports(string $text, ?string $botName = 'ZiziBotConfig'): string
59 59
     {
60 60
         $pattern = sprintf(
61 61
             '#== Ouvrage avec erreur de paramètre ==(.*)Le robot \[\[Utilisateur:%s\|%s\]\] \(\[\[Discussion utilisateur:%s\|discuter\]\]\) [0-9a-zéà: ]+ \(CET\)[\n]*#s',
Please login to merge, or discard this patch.