You are here

public function InlineTest::testDeprecatedStrTag in Lockr 7.3

@group legacy @expectedDeprecation Support for the !str tag is deprecated since Symfony 3.4. Use the !!str tag instead on line 1.

File

vendor/symfony/yaml/Tests/InlineTest.php, line 803

Class

InlineTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testDeprecatedStrTag() {
  $this
    ->assertSame([
    'foo' => 'bar',
  ], Inline::parse('{ foo: !str bar }'));
}