Skip to content

Commit 4494373

Browse files
committed
Merge branch '4.4' into 5.1
* 4.4: Use ::class keyword when possible
2 parents 5e2f64d + 42eb5fc commit 4494373

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)