You are here

public function InlineTest::testParseUnquotedScalarStartingWithPercentCharacter in Lockr 7.3

@group legacy @expectedDeprecation Not quoting the scalar "%bar " starting with the "%" indicator character is deprecated since Symfony 3.1 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 347

Class

InlineTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testParseUnquotedScalarStartingWithPercentCharacter() {
  Inline::parse('{ foo: %bar }');
}