symfony/symfony — pull request #4226 by gajdaw (2012-05-08 09:09:54+00:00)
Title: [Component][Yaml] unindented collection - failing test

According to http://yaml-online-parser.appspot.com/?yaml=collection%3A%0A-+a%0A++++-+b%0A++++++++-+c&type=python we have another bug in Yaml component.

The commit contains test for this case. The test is currently failing.

I will work on it, but I need some confirmation about Yaml syntax.

Should the output of parsing following Yaml:

collection:
- a
- b
- c

be:

array('collection' => array("a - b - c"))