1--- %YAML:1.0
2test: Unindented collection
3brief: >
4    Unindented collection
5yaml: |
6    collection:
7    - item1
8    - item2
9    - item3
10php: |
11    ['collection' => ['item1', 'item2', 'item3']]
12---
13test: Nested unindented collection (two levels)
14brief: >
15    Nested unindented collection
16yaml: |
17    collection:
18        key:
19        - a
20        - b
21        - c
22php: |
23    ['collection' => ['key' => ['a', 'b', 'c']]]
24---
25test: Nested unindented collection (three levels)
26brief: >
27    Nested unindented collection
28yaml: |
29    collection:
30        key:
31            subkey:
32            - one
33            - two
34            - three
35php: |
36    ['collection' => ['key' => ['subkey' => ['one', 'two', 'three']]]]
37---
38test: Key/value after unindented collection (1)
39brief: >
40    Key/value after unindented collection (1)
41yaml: |
42    collection:
43        key:
44        - a
45        - b
46        - c
47    foo: bar
48php: |
49    ['collection' => ['key' => ['a', 'b', 'c']], 'foo' => 'bar']
50---
51test: Key/value after unindented collection (at the same level)
52brief: >
53    Key/value after unindented collection
54yaml: |
55    collection:
56        key:
57        - a
58        - b
59        - c
60        foo: bar
61php: |
62    ['collection' => ['key' => ['a', 'b', 'c'], 'foo' => 'bar']]
63---
64test: Shortcut Key after unindented collection
65brief: >
66    Key/value after unindented collection
67yaml: |
68    collection:
69    - key: foo
70      foo: bar
71php: |
72    ['collection' => [['key' => 'foo', 'foo' => 'bar']]]
73---
74test: Shortcut Key after unindented collection with custom spaces
75brief: >
76    Key/value after unindented collection
77yaml: |
78    collection:
79    -  key: foo
80       foo: bar
81php: |
82    ['collection' => [['key' => 'foo', 'foo' => 'bar']]]
83