You are here

public function ParserTest::testColonInMappingValueException in Loft Data Grids 7.2

@group legacy @expectedDeprecation Using a colon in the unquoted mapping value "bar: baz" in line 1 is deprecated since Symfony 2.8 and will throw a ParseException in 3.0. throw ParseException in Symfony 3.0

File

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

Class

ParserTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testColonInMappingValueException() {
  $yaml = <<<'EOF'
foo: bar: baz
EOF;
  $this->parser
    ->parse($yaml);
}