Skip to content

Commit 1581166

Browse files
committed
minor #39775 [WIP] Use ::class keyword when possible (fabpot)
This PR was merged into the 4.4 branch. Discussion ---------- [WIP] Use ::class keyword when possible | Q | A | ------------- | --- | Branch? | 4.4 <!-- see below --> | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | n/a <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT | Doc PR | n/a Commits ------- 036a36cb14 Use ::class keyword when possible
2 parents bc3e32f + 763c7e4 commit 1581166

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Functional/UserPasswordEncoderCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ public function testEncodePasswordSodiumOutput()
258258

259259
public function testEncodePasswordNoConfigForGivenUserClass()
260260
{
261-
$this->expectException('\RuntimeException');
261+
$this->expectException(\RuntimeException::class);
262262
$this->expectExceptionMessage('No encoder has been configured for account "Foo\Bar\User".');
263263

264264
$this->passwordEncoderCommandTester->execute([

0 commit comments

Comments
 (0)