Skip to content

Commit 1a9fe0e

Browse files
committed
Merge branch '5.1' into 5.2
* 5.1: Use ::class keyword when possible
2 parents 8f47167 + 4494373 commit 1a9fe0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/Adapter/ExtLdap/EntryManagerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class EntryManagerTest extends TestCase
1919
{
2020
public function testMove()
2121
{
22-
$this->expectException('Symfony\Component\Ldap\Exception\LdapException');
22+
$this->expectException(\Symfony\Component\Ldap\Exception\LdapException::class);
2323
$this->expectExceptionMessage('Entry "$$$$$$" malformed, could not parse RDN.');
2424
$connection = $this->createMock(Connection::class);
2525
$connection
@@ -33,7 +33,7 @@ public function testMove()
3333

3434
public function testGetResources()
3535
{
36-
$this->expectException('Symfony\Component\Ldap\Exception\NotBoundException');
36+
$this->expectException(\Symfony\Component\Ldap\Exception\NotBoundException::class);
3737
$this->expectExceptionMessage('Query execution is not possible without binding the connection first.');
3838
$connection = $this->getMockBuilder(Connection::class)->getMock();
3939
$connection

0 commit comments

Comments
 (0)