Skip to content

Commit 8d73483

Browse files
committed
#12 : fix yaml indent and default dbms to null
1 parent a7ba45a commit 8d73483

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: src/Domain/Stack/DTO/Context.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct(
2424
string $phpVersion,
2525
?string $application = null,
2626
?string $applicationVersion = null,
27-
?string $dbms = self::DBMS_POSTGRESQL,
27+
?string $dbms = null,
2828
?bool $isEnterpriseEdition = false
2929
) {
3030
$this->phpVersion = $phpVersion;
@@ -80,4 +80,4 @@ public function getImagesRegex(): string
8080
$this->dbms
8181
);
8282
}
83-
}
83+
}

Diff for: src/Platform/Console/Command/Stack/InitCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
7070
$format->note('Writing a new .kloud.yaml file.');
7171
file_put_contents($workingDirectory . '/.kloud.yaml', $serializer->serialize($context, 'yaml', [
7272
'yaml_inline' => 2,
73-
'yaml_indent' => 2,
73+
'yaml_indent' => 0,
7474
'yaml_flags' => 0
7575
]));
7676

0 commit comments

Comments
 (0)