8000 Avoid phpunit 5.4 warnings on getMock (2.7+) by linaori · Pull Request #19128 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Avoid phpunit 5.4 warnings on getMock (2.7+) #19128

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 21, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Avoid phpunit 5.4 warnings on getMock
  • Loading branch information
Iltar van der Berg committed Jun 21, 2016
commit b05014c2e9a161b1d78bcc746a8e946226e5a461
2 changes: 1 addition & 1 deletion src/Symfony/Component/Form/Test/TypeTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ protected function setUp()
{
parent::setUp();

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

Expand Down
0