Update monolog to 1.18.2
authorReedy <reedy@wikimedia.org>
Sat, 2 Apr 2016 20:52:02 +0000 (21:52 +0100)
committerReedy <reedy@wikimedia.org>
Tue, 5 Apr 2016 20:01:26 +0000 (20:01 +0000)
https://github.com/Seldaek/monolog/compare/1.17.2...1.18.2

Update KafkaHandlerTest.php

Depends-On: I32e9ebe0a10d97a1ccb0f4d605bd0ee9ba4e97f6
Change-Id: I35eedb6d95b68ebf90c00bb54469c9ff5731cdab

composer.json
includes/debug/logger/monolog/LineFormatter.php
tests/phpunit/includes/debug/logger/monolog/KafkaHandlerTest.php

index 56b27f8..702e8b5 100644 (file)
@@ -42,7 +42,7 @@
                "jakub-onderka/php-parallel-lint": "0.9.2",
                "justinrainbow/json-schema": "~1.3",
                "mediawiki/mediawiki-codesniffer": "0.6.0",
-               "monolog/monolog": "~1.17.2",
+               "monolog/monolog": "~1.18.2",
                "nikic/php-parser": "1.4.1",
                "nmred/kafka-php": "0.1.5",
                "phpunit/phpunit": "4.8.24",
index 13b80be..0ad9b15 100644 (file)
@@ -99,7 +99,7 @@ class LineFormatter extends MonologLineFormatter {
         * @param Exception $e
         * @return string
         */
-       protected function normalizeException( Exception $e ) {
+       protected function normalizeException( $e ) {
                return $this->normalizeExceptionArray( $this->exceptionAsArray( $e ) );
        }
 
index 3029948..e29d207 100644 (file)
@@ -64,6 +64,7 @@ class KafkaHandlerTest extends MediaWikiTestCase {
                        'channel' => 'foo',
                        'level' => Logger::EMERGENCY,
                        'extra' => [],
+                       'context' => [],
                ] );
        }
 
@@ -98,6 +99,7 @@ class KafkaHandlerTest extends MediaWikiTestCase {
                        'channel' => 'foo',
                        'level' => Logger::EMERGENCY,
                        'extra' => [],
+                       'context' => [],
                ] );
 
                if ( !$expectException ) {
@@ -128,6 +130,7 @@ class KafkaHandlerTest extends MediaWikiTestCase {
                        'channel' => 'foo',
                        'level' => Logger::EMERGENCY,
                        'extra' => [],
+                       'context' => [],
                ] );
 
                if ( !$expectException ) {
@@ -163,6 +166,7 @@ class KafkaHandlerTest extends MediaWikiTestCase {
                                'channel' => 'foo',
                                'level' => Logger::EMERGENCY,
                                'extra' => [],
+                               'context' => [],
                        ] );
                }
        }
@@ -190,16 +194,19 @@ class KafkaHandlerTest extends MediaWikiTestCase {
                                'channel' => 'foo',
                                'level' => Logger::EMERGENCY,
                                'extra' => [],
+                               'context' => [],
                        ],
                        [
                                'channel' => 'foo',
                                'level' => Logger::EMERGENCY,
                                'extra' => [],
+                               'context' => [],
                        ],
                        [
                                'channel' => 'foo',
                                'level' => Logger::EMERGENCY,
                                'extra' => [],
+                               'context' => [],
                        ],
                ] );
        }