Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

Commit

Permalink
Merge pull request #7 from lordthorzonus/analysis-zRKNQx
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
lordthorzonus authored Apr 27, 2018
2 parents 2c927be + 909c9af commit 6b94b9c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/Unit/Yii2LogMessageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace leinonen\Yii2Monolog\Tests\Unit;

use yii\helpers\VarDumper;
use yii\log\Logger;
use Psr\Log\LogLevel;
use yii\helpers\VarDumper;
use PHPUnit\Framework\TestCase;
use leinonen\Yii2Monolog\Yii2LogMessage;

Expand Down Expand Up @@ -106,7 +106,7 @@ public function yiis_messages_can_be_also_arrays_or_exceptions_instead_of_plain_
$runTimeException = new \RuntimeException('a runtime exception');
$expectedArrayOutput = VarDumper::export(['an array as the log message']);
$expectedMultiLevelArrayOutput = VarDumper::export([
'an array as the log message' => ['with' => ['nested' => 'arrays']]
'an array as the log message' => ['with' => ['nested' => 'arrays']],
]);

$messagesAndTheirExpectedResultsMap = [
Expand Down Expand Up @@ -136,7 +136,6 @@ public function yiis_messages_can_be_also_arrays_or_exceptions_instead_of_plain_
],
];


foreach ($messagesAndTheirExpectedResultsMap as $expectedMessage => $yiisMessage) {
$logMessage = new Yii2LogMessage($yiisMessage);

Expand Down

0 comments on commit 6b94b9c

Please sign in to comment.