mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-13 16:44:23 +02:00
Upgrade phpstan, phpunit (#1923)
* Upgrade phpstan, phpunit * Fix phpunit deprecation * Fix hg tests * Fix php-console tests * Fix phpunit on 8.1 * Bump phpconsole
This commit is contained in:
@@ -42,6 +42,7 @@ class SlackHandlerTest extends TestCase
|
||||
parent::tearDown();
|
||||
|
||||
unset($this->res);
|
||||
unset($this->handler);
|
||||
}
|
||||
|
||||
public function testWriteHeader()
|
||||
@@ -139,7 +140,6 @@ class SlackHandlerTest extends TestCase
|
||||
->getMock();
|
||||
|
||||
$reflectionProperty = new \ReflectionProperty('Monolog\Handler\SocketHandler', 'connectionString');
|
||||
$reflectionProperty->setAccessible(true);
|
||||
$reflectionProperty->setValue($this->handler, 'localhost:1234');
|
||||
|
||||
$this->handler->expects($this->any())
|
||||
|
Reference in New Issue
Block a user