Merge "Fixed spacing"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Thu, 30 Oct 2014 20:09:54 +0000 (20:09 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 30 Oct 2014 20:09:54 +0000 (20:09 +0000)
1  2 
includes/GlobalFunctions.php
includes/debug/logger/legacy/Logger.php

@@@ -30,7 -30,7 +30,7 @@@ if ( !defined( 'MEDIAWIKI' ) ) 
  /**
   * Compatibility functions
   *
 - * We support PHP 5.3.2 and up.
 + * We support PHP 5.3.3 and up.
   * Re-implementations of newer functions or functions in non-standard
   * PHP extensions may be included here.
   */
@@@ -3709,7 -3709,7 +3709,7 @@@ function wfWaitForSlaves
        // Figure out which clusters need to be checked
        $lbs = array();
        if ( $cluster === '*' ) {
-               wfGetLBFactory()->forEachLB( function( LoadBalancer $lb ) use ( &$lbs ) {
+               wfGetLBFactory()->forEachLB( function ( LoadBalancer $lb ) use ( &$lbs ) {
                        $lbs[] = $lb;
                } );
        } elseif ( $cluster !== false ) {
@@@ -83,7 -83,7 +83,7 @@@ class MWLoggerLegacyLogger extends \Psr
                if ( $channel === 'wfLogDBError' ) {
                        // wfLogDBError messages are emitted if a database log location is
                        // specfied.
-                       $shouldEmit = (bool) $wgDBerrorLog;
+                       $shouldEmit = (bool)$wgDBerrorLog;
  
                } elseif ( $channel === 'wfErrorLog' ) {
                        // All messages on the wfErrorLog channel should be emitted.
                }
  
                // Workaround for https://bugs.php.net/bug.php?id=52063
 -              // Can be removed when min PHP > 5.3.2
 +              // Can be removed when min PHP > 5.3.6
                if ( $cachedTimezone === null ) {
                        $d = date_create( 'now' );
                } else {