mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-20 08:06:19 +02:00
Fix phpunit deprecations
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
namespace Monolog\Processor;
|
||||
|
||||
use Monolog\Test\TestCase;
|
||||
use PHPUnit\Framework\Attributes\DataProvider;
|
||||
|
||||
class ClosureContextProcessorTest extends TestCase
|
||||
{
|
||||
@@ -24,9 +25,7 @@ class ClosureContextProcessorTest extends TestCase
|
||||
$this->assertSame($context, $record->context);
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider getContexts
|
||||
*/
|
||||
#[DataProvider('getContexts')]
|
||||
public function testSkip(array $context)
|
||||
{
|
||||
$processor = new ClosureContextProcessor();
|
||||
|
Reference in New Issue
Block a user