@@ -29,7 +29,7 @@ discard block |
||
| 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 |
||
| 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', |