mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-10 23:24:02 +02:00
Deprecated setMethods() usages moving to onlyMethods()
This commit is contained in:
@@ -64,7 +64,7 @@ class RollbarHandlerTest extends TestCase
|
||||
|
||||
$this->rollbarLogger = $this->getMockBuilder(RollbarLogger::class)
|
||||
->setConstructorArgs(array($config))
|
||||
->setMethods(array('log'))
|
||||
->onlyMethods(array('log'))
|
||||
->getMock();
|
||||
|
||||
$this->rollbarLogger
|
||||
|
Reference in New Issue
Block a user