mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-05 04:37:38 +02:00
Fix array syntax for Travis CI
This commit is contained in:
@@ -33,8 +33,8 @@ class SyslogUdpHandlerTest extends TestCase
|
|||||||
$host = gethostname();
|
$host = gethostname();
|
||||||
|
|
||||||
$handler = $this->getMockBuilder('\Monolog\Handler\SyslogUdpHandler')
|
$handler = $this->getMockBuilder('\Monolog\Handler\SyslogUdpHandler')
|
||||||
->setConstructorArgs(["127.0.0.1", 514, "php", "authpriv"])
|
->setConstructorArgs(array("127.0.0.1", 514, "php", "authpriv"))
|
||||||
->setMethods(['getDateTime'])
|
->setMethods(array('getDateTime'))
|
||||||
->getMock();
|
->getMock();
|
||||||
|
|
||||||
$handler->method('getDateTime')
|
$handler->method('getDateTime')
|
||||||
|
Reference in New Issue
Block a user