You are here

public function InlineTest::testImplicitStringCastingOfMappingKeysIsDeprecated in Lockr 7.3

@group legacy @expectedDeprecation Implicit casting of incompatible mapping keys to strings is deprecated since Symfony 3.3 and will throw \Symfony\Component\Yaml\Exception\ParseException in 4.0. Quote your evaluable mapping keys instead on line 1. @dataProvider getNotPhpCompatibleMappingKeyData

File

vendor/symfony/yaml/Tests/InlineTest.php, line 773

Class

InlineTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testImplicitStringCastingOfMappingKeysIsDeprecated($yaml, $expected) {
  $this
    ->assertSame($expected, Inline::parse($yaml));
}