OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
reader
/
API
/
vendor
/
symfony
/
yaml
/
Tests
/
Fixtures
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/07/2024 04:34:21 AM
rwxr-xr-x
📄
FooBackedEnum.php
118 bytes
08/07/2024 04:34:22 AM
rw-r--r--
📄
FooUnitEnum.php
100 bytes
08/07/2024 04:34:22 AM
rw-r--r--
📄
YtsAnchorAlias.yml
870 bytes
08/07/2024 04:34:22 AM
rw-r--r--
📄
YtsBasicTests.yml
4.79 KB
08/07/2024 04:34:22 AM
rw-r--r--
📄
YtsBlockMapping.yml
950 bytes
08/07/2024 04:34:22 AM
rw-r--r--
📄
YtsDocumentSeparator.yml
1.56 KB
08/07/2024 04:34:22 AM
rw-r--r--
📄
YtsErrorTests.yml
645 bytes
08/07/2024 04:34:22 AM
rw-r--r--
📄
YtsFlowCollections.yml
1.6 KB
08/07/2024 04:34:22 AM
rw-r--r--
📄
YtsFoldedScalars.yml
4.01 KB
08/07/2024 04:34:22 AM
rw-r--r--
📄
YtsNullsAndEmpties.yml
698 bytes
08/07/2024 04:34:22 AM
rw-r--r--
📄
YtsSpecificationExamples.yml
41.4 KB
08/07/2024 04:34:22 AM
rw-r--r--
📄
YtsTypeTransfers.yml
6.49 KB
08/07/2024 04:34:22 AM
rw-r--r--
📄
arrow.gif
185 bytes
08/07/2024 04:34:22 AM
rw-r--r--
📄
booleanMappingKeys.yml
149 bytes
08/07/2024 04:34:22 AM
rw-r--r--
📄
embededPhp.yml
32 bytes
08/07/2024 04:34:22 AM
rw-r--r--
📄
escapedCharacters.yml
2.33 KB
08/07/2024 04:34:22 AM
rw-r--r--
📄
index.yml
330 bytes
08/07/2024 04:34:22 AM
rw-r--r--
📄
nonStringKeys.yml
62 bytes
08/07/2024 04:34:22 AM
rw-r--r--
📄
not_readable.yml
330 bytes
08/07/2024 04:34:22 AM
rw-r--r--
📄
nullMappingKey.yml
107 bytes
08/07/2024 04:34:22 AM
rw-r--r--
📄
numericMappingKeys.yml
393 bytes
08/07/2024 04:34:22 AM
rw-r--r--
📄
sfComments.yml
1.97 KB
08/07/2024 04:34:22 AM
rw-r--r--
📄
sfCompact.yml
2.84 KB
08/07/2024 04:34:22 AM
rw-r--r--
📄
sfMergeKey.yml
2.32 KB
08/07/2024 04:34:22 AM
rw-r--r--
📄
sfObjects.yml
290 bytes
08/07/2024 04:34:22 AM
rw-r--r--
📄
sfQuotes.yml
761 bytes
08/07/2024 04:34:22 AM
rw-r--r--
📄
sfTests.yml
2.19 KB
08/07/2024 04:34:22 AM
rw-r--r--
📄
unindentedCollections.yml
1.75 KB
08/07/2024 04:34:22 AM
rw-r--r--
Editing: YtsBasicTests.yml
Close
--- %YAML:1.0 test: Simple Sequence brief: | You can specify a list in YAML by placing each member of the list on a new line with an opening dash. These lists are called sequences. yaml: | - apple - banana - carrot php: | ['apple', 'banana', 'carrot'] --- test: Sequence With Item Being Null In The Middle brief: | You can specify a list in YAML by placing each member of the list on a new line with an opening dash. These lists are called sequences. yaml: | - apple - - carrot php: | ['apple', null, 'carrot'] --- test: Sequence With Last Item Being Null brief: | You can specify a list in YAML by placing each member of the list on a new line with an opening dash. These lists are called sequences. yaml: | - apple - banana - php: | ['apple', 'banana', null] --- test: Nested Sequences brief: | You can include a sequence within another sequence by giving the sequence an empty dash, followed by an indented list. yaml: | - - foo - bar - baz php: | [['foo', 'bar', 'baz']] --- test: Mixed Sequences brief: | Sequences can contain any YAML data, including strings and other sequences. yaml: | - apple - - foo - bar - x123 - banana - carrot php: | ['apple', ['foo', 'bar', 'x123'], 'banana', 'carrot'] --- test: Deeply Nested Sequences brief: | Sequences can be nested even deeper, with each level of indentation representing a level of depth. yaml: | - - - uno - dos php: | [[['uno', 'dos']]] --- test: Simple Mapping brief: | You can add a keyed list (also known as a dictionary or hash) to your document by placing each member of the list on a new line, with a colon separating the key from its value. In YAML, this type of list is called a mapping. yaml: | foo: whatever bar: stuff php: | ['foo' => 'whatever', 'bar' => 'stuff'] --- test: Sequence in a Mapping brief: | A value in a mapping can be a sequence. yaml: | foo: whatever bar: - uno - dos php: | ['foo' => 'whatever', 'bar' => ['uno', 'dos']] --- test: Nested Mappings brief: | A value in a mapping can be another mapping. yaml: | foo: whatever bar: fruit: apple name: steve sport: baseball php: | [ 'foo' => 'whatever', 'bar' => [ 'fruit' => 'apple', 'name' => 'steve', 'sport' => 'baseball' ] ] --- test: Mixed Mapping brief: | A mapping can contain any assortment of mappings and sequences as values. yaml: | foo: whatever bar: - fruit: apple name: steve sport: baseball - more - python: rocks perl: papers ruby: scissorses php: | [ 'foo' => 'whatever', 'bar' => [ [ 'fruit' => 'apple', 'name' => 'steve', 'sport' => 'baseball' ], 'more', [ 'python' => 'rocks', 'perl' => 'papers', 'ruby' => 'scissorses' ] ] ] --- test: Mapping-in-Sequence Shortcut todo: true brief: | If you are adding a mapping to a sequence, you can place the mapping on the same line as the dash as a shortcut. yaml: | - work on YAML.py: - work on Store php: | [['work on YAML.py' => ['work on Store']]] --- test: Sequence-in-Mapping Shortcut todo: true brief: | The dash in a sequence counts as indentation, so you can add a sequence inside of a mapping without needing spaces as indentation. yaml: | allow: - 'localhost' - '%.sourceforge.net' - '%.freepan.org' php: | ['allow' => ['localhost', '%.sourceforge.net', '%.freepan.org']] --- todo: true test: Merge key brief: | A merge key ('<<') can be used in a mapping to insert other mappings. If the value associated with the merge key is a mapping, each of its key/value pairs is inserted into the current mapping. yaml: | mapping: name: Joe job: Accountant <<: age: 38 php: | [ 'mapping' => [ 'name' => 'Joe', 'job' => 'Accountant', 'age' => 38 ] ] --- test: Inline first element in sequence blocks 1 yaml: | - - s1_i1 - s1_i2 - s2 php: | [ [ "s1_i1", "s1_i2" ], "s2" ] --- test: Inline first element in sequence blocks 2 yaml: | - - s1_i1 - - s1_i1_1 - s1_i1_2 - s1_i2 - s2 php: | [ [ "s1_i1", [ "s1_i1_1", "s1_i1_2", ], "s1_i2" ], "s2" ]