Humanised yaml application config

This commit is contained in:
Dmitry Khomutov 2014-04-29 23:22:04 +07:00
parent 10cd4e7821
commit d39ff71484

View file

@ -195,7 +195,7 @@ class InstallCommand extends Command
protected function writeConfigFile(array $config)
{
$dumper = new \Symfony\Component\Yaml\Dumper();
$yaml = $dumper->dump($config);
$yaml = $dumper->dump($config, 2);
file_put_contents(PHPCI_DIR . 'PHPCI/config.yml', $yaml);
}