We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e49580b commit 667e2f9Copy full SHA for 667e2f9
Tests/ParserTest.php
@@ -525,7 +525,7 @@ public function testObjectsSupportDisabledWithExceptions()
525
526
public function testMappingKeyInMultiLineStringTriggersDeprecationNotice()
527
{
528
- $this->expectException('Symfony\Component\Yaml\Exception\ParseException');
+ $this->expectException(ParseException::class);
529
$this->expectExceptionMessage('Mapping values are not allowed in multi-line blocks at line 2 (near "dbal:wrong").');
530
531
$yaml = <<<'EOF'
0 commit comments