public function InlineTest::testOmittedMappingKeyIsParsedAsColon in Lockr 7.3
@group legacy @expectedDeprecation Omitting the key of a mapping is deprecated and will throw a ParseException in 4.0 on line 1.
File
- vendor/
symfony/ yaml/ Tests/ InlineTest.php, line 742
Class
Namespace
Symfony\Component\Yaml\TestsCode
public function testOmittedMappingKeyIsParsedAsColon() {
$this
->assertSame([
':' => 'foo',
], Inline::parse('{: foo}'));
}