Skip to content

Commit 667e2f9

Browse files
committed
Use ::class keyword when possible
1 parent e49580b commit 667e2f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/ParserTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ public function testObjectsSupportDisabledWithExceptions()
525525

526526
public function testMappingKeyInMultiLineStringTriggersDeprecationNotice()
527527
{
528-
$this->expectException('Symfony\Component\Yaml\Exception\ParseException');
528+
$this->expectException(ParseException::class);
529529
$this->expectExceptionMessage('Mapping values are not allowed in multi-line blocks at line 2 (near "dbal:wrong").');
530530

531531
$yaml = <<<'EOF'

0 commit comments

Comments
 (0)