You are here

public function ParserTest::testComplexMappingThrowsParseException 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 1.

File

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

Class

ParserTest

Namespace

Symfony\Component\Yaml\Tests

Code

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