X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=vendor%2Fsymfony%2Fyaml%2FTests%2FFixtures%2FYtsTypeTransfers.yml;h=dea0be010b58c353d3296fdfd72d2fa43a51d8a8;hb=5b8bb166bfa98770daef9de5c127fc2e6ef02340;hp=46c8d4a2c0f0b8b6ea4598ab633ea45b576ce0b1;hpb=eba34333e3c89f208d2f72fa91351ad019a71583;p=yaffs-website diff --git a/vendor/symfony/yaml/Tests/Fixtures/YtsTypeTransfers.yml b/vendor/symfony/yaml/Tests/Fixtures/YtsTypeTransfers.yml index 46c8d4a2c..dea0be010 100644 --- a/vendor/symfony/yaml/Tests/Fixtures/YtsTypeTransfers.yml +++ b/vendor/symfony/yaml/Tests/Fixtures/YtsTypeTransfers.yml @@ -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: >