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:
commit
1dde2745d2
@ -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" : '');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user