From 980d5e3bc68d237d9e01747aad73209d71eba4aa Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Sat, 14 Mar 2015 19:40:15 -0700 Subject: [PATCH] Fix phpcs errors and warnings in includes/specialpage Change-Id: Ie9276c162e20b28915d31e5a87b2f18cf1c295b6 --- includes/specialpage/ChangesListSpecialPage.php | 4 +++- includes/specialpage/FormSpecialPage.php | 7 ++++++- 2 files changed, 9 insertions(+), 2 deletions(-) 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' ); -- 2.20.1