8000 [translation] Update defaut format from yml to yaml · symfony/symfony@ba42030 · GitHub
[go: up one dir, main page]

Skip to content

Commit ba42030

Browse files
GaryPEGEOTfabpot
authored andcommitted
[translation] Update defaut format from yml to yaml
1 parent e9c8e19 commit ba42030

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Bundle/FrameworkBundle/Command/TranslationUpdateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ protected function configure()
8383
new InputArgument('bundle', InputArgument::OPTIONAL, 'The bundle name or directory where to load the messages'),
8484
new InputOption('prefix', null, InputOption::VALUE_OPTIONAL, 'Override the default prefix', '__'),
8585
new InputOption('no-prefix', null, InputOption::VALUE_NONE, '[DEPRECATED] If set, no prefix is added to the translations'),
86-
new InputOption('output-format', null, InputOption::VALUE_OPTIONAL, 'Override the default output format', 'yml'),
86+
new InputOption('output-format', null, InputOption::VALUE_OPTIONAL, 'Override the default output format', 'yaml'),
8787
new InputOption('dump-messages', null, InputOption::VALUE_NONE, 'Should the messages be dumped in the console'),
8888
new InputOption('force', null, InputOption::VALUE_NONE, 'Should the update be done'),
8989
new InputOption('no-backup', null, InputOption::VALUE_NONE, 'Should backup be disabled'),

src/Symfony/Bundle/FrameworkBundle/Tests/Command/TranslationUpdateCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ private function createCommandTester($extractedMessages = [], $loadedMessages =
143143
->expects($this->any())
144144
->method('getFormats')
145145
->will(
146-
$this->returnValue(['xlf', 'yml'])
146+
$this->returnValue(['xlf', 'yml', 'yaml'])
147147
);
148148

149149
if (null === $kernel) {

0 commit comments

Comments
 (0)
0