You are here

public function ParserTest::testParseExceptionOnDuplicate in Lockr 7.3

@group legacy @dataProvider getParseExceptionOnDuplicateData @expectedDeprecation Duplicate key "%s" detected whilst parsing YAML. Silent handling of duplicate mapping keys in YAML is deprecated %s and will throw \Symfony\Component\Yaml\Exception\ParseException in 4.0 on line %d. throws \Symfony\Component\Yaml\Exception\ParseException in 4.0

File

vendor/symfony/yaml/Tests/ParserTest.php, line 956

Class

ParserTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testParseExceptionOnDuplicate($input, $duplicateKey, $lineNumber) {
  Yaml::parse($input);
}