merged branch jdewit/master (PR #2242)

Commits
-------

6d8c4a8 change nested collection indentation from 2 to 4

Discussion
----------

Changed Yaml Dumper nested collection indentation

This PR changes the dumpers nested collection indentation from 2 to 4 which seems to be the standard.
This commit is contained in:
Fabien Potencier 2011-09-23 07:45:39 +02:00
commit 1dde2745d2

View File

@ -44,7 +44,7 @@ class Dumper
$prefix,
$isAHash ? Inline::dump($key).':' : '-',
$willBeInlined ? ' ' : "\n",
$this->dump($value, $inline - 1, $willBeInlined ? 0 : $indent + 2)
$this->dump($value, $inline - 1, $willBeInlined ? 0 : $indent + 4)
).($willBeInlined ? "\n" : '');
}
}