update mediawiki-codesniffer to 0.11.0 and fix issues
[lhc/web/wiklou.git] / includes / parser / Preprocessor_Hash.php
index 25d253f..9ea8fa3 100644 (file)
@@ -569,7 +569,7 @@ class Preprocessor_Hash extends Preprocessor {
                                $curLen = strlen( $curChar );
                                $count = ( $curLen > 1 ) ?
                                        # allow the final character to repeat
-                                       strspn( $text, $curChar[$curLen-1], $i+1 ) + 1 :
+                                       strspn( $text, $curChar[$curLen - 1], $i + 1 ) + 1 :
                                        strspn( $text, $curChar, $i );
 
                                # we need to add to stack only if opening brace count is enough for one of the rules