Re-enable Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines
authorReedy <reedy@wikimedia.org>
Sat, 26 Sep 2015 15:00:56 +0000 (16:00 +0100)
committerReedy <reedy@wikimedia.org>
Sat, 26 Sep 2015 15:00:56 +0000 (16:00 +0100)
Add extra whitespace line too

Change-Id: Ia33c9b63c36f121e5e9283c6d4a2b024a1821a43

phpcs.xml
tests/phpunit/includes/OutputPageTest.php

index f34b274..08ea183 100644 (file)
--- a/phpcs.xml
+++ b/phpcs.xml
@@ -18,7 +18,6 @@
                <exclude name="PSR2.Methods.MethodDeclaration.StaticBeforeVisibility"/>
                <exclude name="Squiz.WhiteSpace.ScopeClosingBrace.Indent"/>
                <exclude name="Squiz.WhiteSpace.SemicolonSpacing.Incorrect"/>
-               <exclude name="Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines"/>
        </rule>
        <file>.</file>
        <arg name="encoding" value="utf8"/>
index f0d905e..fbb3982 100644 (file)
@@ -323,8 +323,6 @@ class OutputPageTest extends MediaWikiTestCase {
                                        array( 'Cookie', array( 'string-contains=phpsessid' ) ),
                                        array( 'Cookie', array( 'string-contains=phpsessid' ) ),
                                        array( 'Accept-Language', array( 'string-contains=en', 'string-contains=en' ) ),
-
-
                                ),
                                'Vary: Cookie, Accept-Language',
                                'X-Vary-Options: Cookie;string-contains=phpsessid,Accept-Language;string-contains=en',
@@ -359,6 +357,7 @@ class NullMessageBlobStore extends MessageBlobStore {
 
        public function updateMessage( $key ) {
        }
+
        public function clear() {
        }
 }