1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-08 06:06:40 +02:00

Merge branch '2.x' into main

This commit is contained in:
Jordi Boggiano
2022-05-10 11:45:36 +02:00
8 changed files with 205 additions and 53 deletions

View File

@@ -58,10 +58,8 @@ class UdpSocketTest extends TestCase
$socket->close();
}
public function testWriteAfterCloseErrors()
public function testWriteAfterCloseReopened()
{
$this->expectException(\RuntimeException::class);
$socket = new UdpSocket('127.0.0.1', 514);
$socket->close();
$socket->write('foo', "HEADER");