From 6b24d10b6d5252962119b12849f71b8eb34b81a1 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Fri, 19 Jun 2015 20:52:43 +0200 Subject: [PATCH] Fix some line indent of string concat Change-Id: I5883c9cd57d106168648b4502051b4b49046fea2 --- includes/AjaxDispatcher.php | 12 ++++++------ includes/EditPage.php | 6 +++--- includes/filebackend/FileBackendMultiWrite.php | 4 ++-- includes/htmlform/HTMLCheckField.php | 6 +++--- includes/installer/Installer.php | 10 +++++----- includes/specials/SpecialAllMessages.php | 8 ++++---- 6 files changed, 23 insertions(+), 23 deletions(-) diff --git a/includes/AjaxDispatcher.php b/includes/AjaxDispatcher.php index b14114d76b..96892d710f 100644 --- a/includes/AjaxDispatcher.php +++ b/includes/AjaxDispatcher.php @@ -124,9 +124,9 @@ class AjaxDispatcher { $result = call_user_func_array( $this->func_name, $this->args ); if ( $result === false || $result === null ) { - wfDebug( __METHOD__ . ' ERROR while dispatching ' - . $this->func_name . "(" . var_export( $this->args, true ) . "): " - . "no data returned\n" ); + wfDebug( __METHOD__ . ' ERROR while dispatching ' . + $this->func_name . "(" . var_export( $this->args, true ) . "): " . + "no data returned\n" ); wfHttpError( 500, 'Internal Error', "{$this->func_name} returned no data" ); @@ -141,9 +141,9 @@ class AjaxDispatcher { wfDebug( __METHOD__ . ' dispatch complete for ' . $this->func_name . "\n" ); } } catch ( Exception $e ) { - wfDebug( __METHOD__ . ' ERROR while dispatching ' - . $this->func_name . "(" . var_export( $this->args, true ) . "): " - . get_class( $e ) . ": " . $e->getMessage() . "\n" ); + wfDebug( __METHOD__ . ' ERROR while dispatching ' . + $this->func_name . "(" . var_export( $this->args, true ) . "): " . + get_class( $e ) . ": " . $e->getMessage() . "\n" ); if ( !headers_sent() ) { wfHttpError( 500, 'Internal Error', diff --git a/includes/EditPage.php b/includes/EditPage.php index b439459d15..4e470e9300 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -1241,9 +1241,9 @@ class EditPage { if ( !$converted ) { //TODO: somehow show a warning to the user! - wfDebug( "Attempt to preload incompatible content: " - . "can't convert " . $content->getModel() - . " to " . $handler->getModelID() ); + wfDebug( "Attempt to preload incompatible content: " . + "can't convert " . $content->getModel() . + " to " . $handler->getModelID() ); return $handler->makeEmptyContent(); } diff --git a/includes/filebackend/FileBackendMultiWrite.php b/includes/filebackend/FileBackendMultiWrite.php index f2d13eeb70..6a699f9410 100644 --- a/includes/filebackend/FileBackendMultiWrite.php +++ b/includes/filebackend/FileBackendMultiWrite.php @@ -328,8 +328,8 @@ class FileBackendMultiWrite extends FileBackend { $cStat = $cBackend->getFileStat( array( 'src' => $cPath, 'latest' => true ) ); if ( $cStat === null || ( $cSha1 !== false && !$cStat ) ) { // sanity $status->fatal( 'backend-fail-internal', $cBackend->getName() ); - wfDebugLog( 'FileOperation', __METHOD__ - . ': File is not available on the clone backend' ); + wfDebugLog( 'FileOperation', __METHOD__ . + ': File is not available on the clone backend' ); continue; // file is not available on the clone backend... } if ( $mSha1 === $cSha1 ) { diff --git a/includes/htmlform/HTMLCheckField.php b/includes/htmlform/HTMLCheckField.php index dc2de65f08..55312ffb21 100644 --- a/includes/htmlform/HTMLCheckField.php +++ b/includes/htmlform/HTMLCheckField.php @@ -26,9 +26,9 @@ class HTMLCheckField extends HTMLFormField { $attrLabel['title'] = $attr['title']; } - $chkLabel = Xml::check( $this->mName, $value, $attr ) - . ' ' - . Html::rawElement( 'label', $attrLabel, $this->mLabel ); + $chkLabel = Xml::check( $this->mName, $value, $attr ) . + ' ' . + Html::rawElement( 'label', $attrLabel, $this->mLabel ); if ( $wgUseMediaWikiUIEverywhere || $this->mParent instanceof VFormHTMLForm ) { $chkLabel = Html::rawElement( diff --git a/includes/installer/Installer.php b/includes/installer/Installer.php index a10fb48e81..28183497a3 100644 --- a/includes/installer/Installer.php +++ b/includes/installer/Installer.php @@ -1123,12 +1123,12 @@ abstract class Installer { } elseif ( $c <= 0x7FF ) { return chr( 0xC0 | $c >> 6 ) . chr( 0x80 | $c & 0x3F ); } elseif ( $c <= 0xFFFF ) { - return chr( 0xE0 | $c >> 12 ) . chr( 0x80 | $c >> 6 & 0x3F ) - . chr( 0x80 | $c & 0x3F ); + return chr( 0xE0 | $c >> 12 ) . chr( 0x80 | $c >> 6 & 0x3F ) . + chr( 0x80 | $c & 0x3F ); } elseif ( $c <= 0x10FFFF ) { - return chr( 0xF0 | $c >> 18 ) . chr( 0x80 | $c >> 12 & 0x3F ) - . chr( 0x80 | $c >> 6 & 0x3F ) - . chr( 0x80 | $c & 0x3F ); + return chr( 0xF0 | $c >> 18 ) . chr( 0x80 | $c >> 12 & 0x3F ) . + chr( 0x80 | $c >> 6 & 0x3F ) . + chr( 0x80 | $c & 0x3F ); } else { return false; } diff --git a/includes/specials/SpecialAllMessages.php b/includes/specials/SpecialAllMessages.php index 6a86af2d87..f3e896a936 100644 --- a/includes/specials/SpecialAllMessages.php +++ b/includes/specials/SpecialAllMessages.php @@ -392,10 +392,10 @@ class AllMessagesTablePager extends TablePager { ); } - return $title . ' ' - . $this->msg( 'parentheses' )->rawParams( $talk )->escaped() - . ' ' - . $this->msg( 'parentheses' )->rawParams( $translation )->escaped(); + return $title . ' ' . + $this->msg( 'parentheses' )->rawParams( $talk )->escaped() . + ' ' . + $this->msg( 'parentheses' )->rawParams( $translation )->escaped(); case 'am_default' : case 'am_actual' : -- 2.20.1