mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-03 19:57:41 +02:00
Fix test suite
This commit is contained in:
@@ -297,7 +297,7 @@ class SocketHandlerTest extends TestCase
|
|||||||
{
|
{
|
||||||
$this->res = fopen('php://memory', 'a');
|
$this->res = fopen('php://memory', 'a');
|
||||||
|
|
||||||
$defaultMethods = ['fsockopen', 'pfsockopen', 'streamSetTimeout'];
|
$defaultMethods = ['fsockopen', 'pfsockopen', 'streamSetTimeout', 'streamSetChunkSize'];
|
||||||
$newMethods = array_diff($methods, $defaultMethods);
|
$newMethods = array_diff($methods, $defaultMethods);
|
||||||
|
|
||||||
$finalMethods = array_merge($defaultMethods, $newMethods);
|
$finalMethods = array_merge($defaultMethods, $newMethods);
|
||||||
|
Reference in New Issue
Block a user