Fixup MW for HHVM Repo Authorative mode
authorReedy <reedy@wikimedia.org>
Sun, 29 Nov 2015 04:51:33 +0000 (04:51 +0000)
committerBryanDavis <bdavis@wikimedia.org>
Mon, 30 Nov 2015 17:25:47 +0000 (17:25 +0000)
https://github.com/facebook/hhvm/issues/5834
https://github.com/facebook/hhvm/issues/5833

Change-Id: I138ffa5df874c5660897dc7feab36adef9f32aea

includes/debug/logger/LoggerFactory.php

index 1573d7b..b0a10ce 100644 (file)
@@ -96,7 +96,7 @@ class LoggerFactory {
        public static function getInstance( $channel ) {
                static $hasPSR3Interface = null;
                if ( $hasPSR3Interface === null ) {
-                       $hasPSR3Interface = interface_exists( '\Psr\Log\LoggerInterface' );
+                       $hasPSR3Interface = interface_exists( 'Psr\Log\LoggerInterface' );
                        if ( !$hasPSR3Interface ) {
                                $message = (
                                        'MediaWiki requires the <a href="https://github.com/php-fig/log">PSR-3 logging ' .