mirror of
https://github.com/Seldaek/monolog.git
synced 2025-07-30 09:50:26 +02:00
Upgrade PHPUnit to v8
This commit is contained in:
@@ -34,7 +34,7 @@ class PHPConsoleHandlerTest extends TestCase
|
||||
/** @var ErrorDispatcher|MockObject */
|
||||
protected $errorDispatcher;
|
||||
|
||||
protected function setUp()
|
||||
protected function setUp(): void
|
||||
{
|
||||
if (!class_exists('PhpConsole\Connector')) {
|
||||
$this->markTestSkipped('PHP Console library not found. See https://github.com/barbushin/php-console#installation');
|
||||
@@ -187,11 +187,10 @@ class PHPConsoleHandlerTest extends TestCase
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @expectedException Exception
|
||||
*/
|
||||
public function testWrongOptionsThrowsException()
|
||||
{
|
||||
$this->expectException(\Exception::class);
|
||||
|
||||
new PHPConsoleHandler(['xxx' => 1]);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user