Skip to content

Commit 699f979

Browse files
committed
Merge branch '4.4' into 5.1
* 4.4: Use ::class keyword when possible
2 parents 83714b5 + 9c11b4d commit 699f979

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tests/Security/User/EntityUserProviderTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
use Symfony\Bridge\Doctrine\Test\DoctrineTestHelper;
2222
use Symfony\Bridge\Doctrine\Tests\Fixtures\User;
2323
use Symfony\Component\Security\Core\User\PasswordUpgraderInterface;
24+
use Symfony\Component\Security\Core\User\UserInterface;
2425

2526
class EntityUserProviderTest extends TestCase
2627
{
@@ -154,7 +155,7 @@ public function testLoadUserByUserNameShouldLoadUserWhenProperInterfaceProvided(
154155
->method('loadUserByUsername')
155156
->with('name')
156157
->willReturn(
157-
$this->getMockBuilder('\Symfony\Component\Security\Core\User\UserInterface')->getMock()
158+
$this->getMockBuilder(UserInterface::class)->getMock()
158159
);
159160

160161
$provider = new EntityUserProvider(

0 commit comments

Comments
 (0)