1
0
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:
ont
2017-03-15 12:00:44 +07:00
parent aa6e88b6de
commit 8c40211c3f

View File

@@ -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')