Shorten lines to pass phpcs test
authorAmir E. Aharoni <amir.aharoni@mail.huji.ac.il>
Sun, 28 Dec 2014 20:16:05 +0000 (22:16 +0200)
committerAmir E. Aharoni <amir.aharoni@mail.huji.ac.il>
Mon, 29 Dec 2014 15:14:08 +0000 (17:14 +0200)
Change-Id: I5588e1f16f1a23d77160cd180058bd2000a93ab6

includes/parser/Parser.php

index 6b2444e..b7f8cf2 100644 (file)
@@ -146,7 +146,8 @@ class Parser {
         * @var MagicWordArray
         */
        public $mSubstWords;
-       public $mConf, $mPreprocessor, $mExtLinkBracketedRegex, $mUrlProtocols; # Initialised in constructor
+       # Initialised in constructor
+       public $mConf, $mPreprocessor, $mExtLinkBracketedRegex, $mUrlProtocols;
 
        # Cleared with clearState():
        /**
@@ -633,7 +634,9 @@ class Parser {
         * @param bool|PPFrame $frame
         * @return mixed|string
         */
-       public function preprocess( $text, Title $title = null, ParserOptions $options, $revid = null, $frame = false ) {
+       public function preprocess( $text, Title $title = null,
+               ParserOptions $options, $revid = null, $frame = false
+       ) {
                wfProfileIn( __METHOD__ );
                $magicScopeVariable = $this->lock();
                $this->startParse( $title, $options, self::OT_PREPROCESS, true );