summaryrefslogtreecommitdiffstats
path: root/tests/Monolog/Handler/BufferHandlerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Monolog/Handler/BufferHandlerTest.php')
-rw-r--r--tests/Monolog/Handler/BufferHandlerTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Monolog/Handler/BufferHandlerTest.php b/tests/Monolog/Handler/BufferHandlerTest.php
index da8b3c3..f1338b4 100644
--- a/tests/Monolog/Handler/BufferHandlerTest.php
+++ b/tests/Monolog/Handler/BufferHandlerTest.php
@@ -1,4 +1,4 @@
-<?php
+<?php declare(strict_types=1);
/*
* This file is part of the Monolog package.
@@ -11,7 +11,7 @@
namespace Monolog\Handler;
-use Monolog\TestCase;
+use Monolog\Test\TestCase;
use Monolog\Logger;
class BufferHandlerTest extends TestCase
@@ -47,7 +47,7 @@ class BufferHandlerTest extends TestCase
$handler->handle($this->getRecord(Logger::WARNING));
$handler->handle($this->getRecord(Logger::DEBUG));
$this->shutdownCheckHandler = $test;
- register_shutdown_function(array($this, 'checkPropagation'));
+ register_shutdown_function([$this, 'checkPropagation']);
}
public function checkPropagation()