8000 Avoid phpunit 5.4 warnings on getMock · symfony/symfony@b05014c · GitHub
[go: up one dir, main page]

Skip to content

Commit b05014c

Browse files
author
Iltar van der Berg
committed
Avoid phpunit 5.4 warnings on getMock
1 parent 0854c12 commit b05014c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Form/Test/TypeTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ protected function setUp()
3030
{
3131
parent::setUp();
3232

33-
$this->dispatcher = $this->getMock('Symfony\Component\EventDispatcher\EventDispatcherInterface');
33+
$this->dispatcher = $this->getMockBuilder('Symfony\Component\EventDispatcher\EventDispatcherInterface')->getMock();
3434
$this->builder = new FormBuilder(null, null, $this->dispatcher, $this->factory);
3535
}
3636

0 commit comments

Comments
 (0)
0