You are here

public function InlineTest::testDeprecatedConstantTag in Lockr 7.3

@group legacy @expectedDeprecation The !php/const: tag to indicate dumped PHP constants is deprecated since Symfony 3.4 and will be removed in 4.0. Use the !php/const (without the colon) tag instead on line 1. @dataProvider getTestsForParseLegacyPhpConstants

File

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

Class

InlineTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testDeprecatedConstantTag($yaml, $expectedValue) {
  $this
    ->assertSame($expectedValue, Inline::parse($yaml, Yaml::PARSE_CONSTANT));
}