Fix phpcs errors and warnings in includes/specialpage
authorKunal Mehta <legoktm@gmail.com>
Sun, 15 Mar 2015 02:40:15 +0000 (19:40 -0700)
committerUmherirrender <umherirrender_de.wp@web.de>
Sun, 15 Mar 2015 19:07:06 +0000 (19:07 +0000)
Change-Id: Ie9276c162e20b28915d31e5a87b2f18cf1c295b6

includes/specialpage/ChangesListSpecialPage.php
includes/specialpage/FormSpecialPage.php

index b1ed63c..b913235 100644 (file)
@@ -315,7 +315,9 @@ abstract class ChangesListSpecialPage extends SpecialPage {
                );
        }
 
-       protected function runMainQueryHook( &$tables, &$fields, &$conds, &$query_options, &$join_conds, $opts ) {
+       protected function runMainQueryHook( &$tables, &$fields, &$conds,
+               &$query_options, &$join_conds, $opts
+       ) {
                return Hooks::run(
                        'ChangesListSpecialPageQuery',
                        array( $this->getName(), &$tables, &$fields, &$conds, &$query_options, &$join_conds, $opts )
index f727c05..21e465a 100644 (file)
@@ -91,7 +91,12 @@ abstract class FormSpecialPage extends SpecialPage {
        protected function getForm() {
                $this->fields = $this->getFormFields();
 
-               $form = HTMLForm::factory( $this->getDisplayFormat(), $this->fields, $this->getContext(), $this->getMessagePrefix() );
+               $form = HTMLForm::factory(
+                       $this->getDisplayFormat(),
+                       $this->fields,
+                       $this->getContext(),
+                       $this->getMessagePrefix()
+               );
                $form->setSubmitCallback( array( $this, 'onSubmit' ) );
                $form->setWrapperLegendMsg( $this->getMessagePrefix() . '-legend' );