public function InlineTest::getTestsForParsePhpConstants in Lockr 7.3
File
- vendor/
symfony/ yaml/ Tests/ InlineTest.php, line 54
Class
Namespace
Symfony\Component\Yaml\TestsCode
public function getTestsForParsePhpConstants() {
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,
],
];
}