You are here

public function InlineTest::testParseMappingKeyWithColonNotFollowedBySpace in Lockr 7.3

@group legacy @expectedDeprecation Using a colon after an unquoted mapping key that is not followed by an indication character (i.e. " ", ",", "[", "]", "{", "}") is deprecated since Symfony 3.2 and will throw a ParseException in 4.0 on line 1. throws \Symfony\Component\Yaml\Exception\ParseException in 4.0

File

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

Class

InlineTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testParseMappingKeyWithColonNotFollowedBySpace() {
  Inline::parse('{1:""}');
}