From: Kunal Mehta Date: Sun, 15 Mar 2015 02:40:15 +0000 (-0700) Subject: Fix phpcs errors and warnings in includes/specialpage X-Git-Tag: 1.31.0-rc.0~12088^2 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=980d5e3bc68d237d9e01747aad73209d71eba4aa;p=lhc%2Fweb%2Fwiklou.git Fix phpcs errors and warnings in includes/specialpage Change-Id: Ie9276c162e20b28915d31e5a87b2f18cf1c295b6 --- diff --git a/includes/specialpage/ChangesListSpecialPage.php b/includes/specialpage/ChangesListSpecialPage.php index b1ed63c9fc..b9132358a6 100644 --- a/includes/specialpage/ChangesListSpecialPage.php +++ b/includes/specialpage/ChangesListSpecialPage.php @@ -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 ) diff --git a/includes/specialpage/FormSpecialPage.php b/includes/specialpage/FormSpecialPage.php index f727c05381..21e465a62e 100644 --- a/includes/specialpage/FormSpecialPage.php +++ b/includes/specialpage/FormSpecialPage.php @@ -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' );