X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FInstallDocFormatter.php;h=4163e2f958f9dc4ce2e04d710a982f37d447b1d4;hb=3071f1fad720f1773864621158a0c59b73124896;hp=0d52e64da4af91af36c6e8b8b7b7b2109cb587b3;hpb=8b1a78fa5e62923d6dea1f9fe578c46b2910155e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/InstallDocFormatter.php b/includes/installer/InstallDocFormatter.php index 0d52e64da4..4163e2f958 100644 --- a/includes/installer/InstallDocFormatter.php +++ b/includes/installer/InstallDocFormatter.php @@ -34,8 +34,8 @@ class InstallDocFormatter { protected function execute() { $text = $this->text; // Use Unix line endings, escape some wikitext stuff - $text = str_replace( array( '<', '{{', '[[', '__', "\r" ), - array( '<', '{{', '[[', '__', '' ), $text ); + $text = str_replace( [ '<', '{{', '[[', '__', "\r" ], + [ '<', '{{', '[[', '__', '' ], $text ); // join word-wrapped lines into one do { $prev = $text;