Humanised yaml application config
This commit is contained in:
parent
10cd4e7821
commit
d39ff71484
|
@ -195,7 +195,7 @@ class InstallCommand extends Command
|
||||||
protected function writeConfigFile(array $config)
|
protected function writeConfigFile(array $config)
|
||||||
{
|
{
|
||||||
$dumper = new \Symfony\Component\Yaml\Dumper();
|
$dumper = new \Symfony\Component\Yaml\Dumper();
|
||||||
$yaml = $dumper->dump($config);
|
$yaml = $dumper->dump($config, 2);
|
||||||
|
|
||||||
file_put_contents(PHPCI_DIR . 'PHPCI/config.yml', $yaml);
|
file_put_contents(PHPCI_DIR . 'PHPCI/config.yml', $yaml);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue