You are here

public function InlineTest::getNotPhpCompatibleMappingKeyData in Lockr 7.3

File

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

Class

InlineTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function getNotPhpCompatibleMappingKeyData() {
  return [
    'boolean-true' => [
      '{true: "foo"}',
      [
        'true' => 'foo',
      ],
    ],
    'boolean-false' => [
      '{false: "foo"}',
      [
        'false' => 'foo',
      ],
    ],
    'null' => [
      '{null: "foo"}',
      [
        'null' => 'foo',
      ],
    ],
    'float' => [
      '{0.25: "foo"}',
      [
        '0.25' => 'foo',
      ],
    ],
  ];
}