Pull merge.
[yaffs-website] / vendor / symfony / yaml / Tests / Fixtures / YtsTypeTransfers.yml
index 46c8d4a2c0f0b8b6ea4598ab633ea45b576ce0b1..dea0be010b58c353d3296fdfd72d2fa43a51d8a8 100644 (file)
@@ -52,10 +52,10 @@ php: |
 test: Forcing Strings
 brief: >
     Any YAML type can be forced into a string using the
-    explicit !str method.
+    explicit !!str method.
 yaml: |
-    date string: !str 2001-08-01
-    number string: !str 192
+    date string: !!str 2001-08-01
+    number string: !!str 192
 php: |
     array(
       'date string' => '2001-08-01',
@@ -176,28 +176,38 @@ brief: >
 yaml: |
     zero: 0
     simple: 12
-    one-thousand: 1,000
-    negative one-thousand: -1,000
 php: |
     array(
       'zero' => 0,
       'simple' => 12,
+    )
+---
+test: Positive Big Integer
+deprecated: true
+dump_skip: true
+brief: >
+    An integer is a series of numbers, optionally
+    starting with a positive or negative sign.  Integers
+    may also contain commas for readability.
+yaml: |
+    one-thousand: 1,000
+php: |
+    array(
       'one-thousand' => 1000.0,
-      'negative one-thousand' => -1000.0
     )
 ---
-test: Integers as Map Keys
+test: Negative Big Integer
+deprecated: true
+dump_skip: true
 brief: >
-    An integer can be used a dictionary key.
+    An integer is a series of numbers, optionally
+    starting with a positive or negative sign.  Integers
+    may also contain commas for readability.
 yaml: |
-    1: one
-    2: two
-    3: three
+    negative one-thousand: -1,000
 php: |
     array(
-        1 => 'one',
-        2 => 'two',
-        3 => 'three'
+      'negative one-thousand' => -1000.0
     )
 ---
 test: Floats
@@ -208,15 +218,27 @@ brief: >
      positive and negative infinity and "not a number."
 yaml: |
      a simple float: 2.00
-     larger float: 1,000.09
      scientific notation: 1.00009e+3
 php: |
      array(
        'a simple float' => 2.0,
-       'larger float' => 1000.09,
        'scientific notation' => 1000.09
      )
 ---
+test: Larger Float
+dump_skip: true
+deprecated: true
+brief: >
+     Floats are represented by numbers with decimals,
+     allowing for scientific notation, as well as
+     positive and negative infinity and "not a number."
+yaml: |
+     larger float: 1,000.09
+php: |
+     array(
+       'larger float' => 1000.09,
+     )
+---
 test: Time
 todo: true
 brief: >