public function InlineTest::getTestsForParseLegacyPhpConstants in Lockr 7.3
File
- vendor/
symfony/ yaml/ Tests/ InlineTest.php, line 93
Class
Namespace
Symfony\Component\Yaml\TestsCode
public function getTestsForParseLegacyPhpConstants() {
return [
[
'!php/const:Symfony\\Component\\Yaml\\Yaml::PARSE_CONSTANT',
Yaml::PARSE_CONSTANT,
],
[
'!php/const:PHP_INT_MAX',
PHP_INT_MAX,
],
[
'[!php/const:PHP_INT_MAX]',
[
PHP_INT_MAX,
],
],
[
'{ foo: !php/const:PHP_INT_MAX }',
[
'foo' => PHP_INT_MAX,
],
],
[
'!php/const:NULL',
null,
],
];
}