You are here

public function ParserTest::testUnsupportedTagWithScalar in Lockr 7.3

@group legacy @expectedDeprecation Using the unquoted scalar value "!iterator foo" is deprecated since Symfony 3.3 and will be considered as a tagged value in 4.0. You must quote it on line 1.

File

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

Class

ParserTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testUnsupportedTagWithScalar() {
  $this
    ->assertEquals('!iterator foo', $this->parser
    ->parse('!iterator foo'));
}