You are here

public function ParserTest::testNonStringMappingKeys in Lockr 7.3

@group legacy @expectedDeprecationMessage Using the Yaml::PARSE_KEYS_AS_STRINGS flag is deprecated since Symfony 3.4 as it will be removed in 4.0. Quote your keys when they are evaluable @dataProvider getNonStringMappingKeysData

File

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

Class

ParserTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testNonStringMappingKeys($expected, $yaml, $comment) {
  $this
    ->assertSame($expected, var_export($this->parser
    ->parse($yaml, Yaml::PARSE_KEYS_AS_STRINGS), true), $comment);
}