mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-21 20:35:17 +02:00
Fix phpunit deprecations
This commit is contained in:
@@ -13,15 +13,14 @@ namespace Monolog\Handler;
|
||||
|
||||
use Monolog\Level;
|
||||
use Monolog\Test\TestCase;
|
||||
use PHPUnit\Framework\Attributes\DataProvider;
|
||||
|
||||
/**
|
||||
* @covers Monolog\Handler\TestHandler
|
||||
*/
|
||||
class TestHandlerTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* @dataProvider methodProvider
|
||||
*/
|
||||
#[DataProvider('methodProvider')]
|
||||
public function testHandler($method, Level $level)
|
||||
{
|
||||
$handler = new TestHandler;
|
||||
|
Reference in New Issue
Block a user