mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-21 20:35:17 +02:00
CI fixes
This commit is contained in:
@@ -55,10 +55,10 @@ class InsightOpsHandlerTest extends TestCase
|
||||
private function createHandler()
|
||||
{
|
||||
$useSSL = extension_loaded('openssl');
|
||||
$args = array('testToken', 'us', $useSSL, Level::Debug, true);
|
||||
$args = ['testToken', 'us', $useSSL, Level::Debug, true];
|
||||
$this->resource = fopen('php://memory', 'a');
|
||||
$this->handler = $this->getMockBuilder(InsightOpsHandler::class)
|
||||
->onlyMethods(array('fsockopen', 'streamSetTimeout', 'closeSocket'))
|
||||
->onlyMethods(['fsockopen', 'streamSetTimeout', 'closeSocket'])
|
||||
->setConstructorArgs($args)
|
||||
->getMock();
|
||||
|
||||
|
Reference in New Issue
Block a user