You are here

public function ParserTest::testComplexMappingNestedInMappingThrowsParseException in Lockr 7.3

@group legacy @expectedDeprecation Starting an unquoted string with a question mark followed by a space is deprecated since Symfony 3.3 and will throw \Symfony\Component\Yaml\Exception\ParseException in 4.0 on line 2.

File

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

Class

ParserTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testComplexMappingNestedInMappingThrowsParseException() {
  $yaml = <<<YAML
diet:
  ? "1"
  :
    name: végétalien
YAML;
  $this->parser
    ->parse($yaml);
}