Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 152e099

Browse filesBrowse files
committed
minor symfony#30988 [Form] fix PHPUnit 4.8 compatibility (xabbuh)
This PR was merged into the 3.4 branch. Discussion ---------- [Form] fix PHPUnit 4.8 compatibility | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Commits ------- 64fa13b fix PHPUnit 4.8 compatibility
2 parents 615cc10 + 64fa13b commit 152e099
Copy full SHA for 152e099

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/Form/Tests/Extension/Core/Type/FileTypeTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/Extension/Core/Type/FileTypeTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class FileTypeTest extends BaseTypeTest
2525

2626
protected function getExtensions()
2727
{
28-
$translator = $this->createMock(TranslatorInterface::class);
28+
$translator = $this->getMockBuilder(TranslatorInterface::class)->getMock();
2929
$translator->expects($this->any())->method('trans')->willReturnArgument(0);
3030

3131
return array_merge(parent::getExtensions(), [new CoreExtension(null, null, $translator)]);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.