Skip to content

Commit f06952d

Browse files
authored
Apply suggestions from code review
1 parent 1c3ec7e commit f06952d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ CHANGELOG
1313
* added `framework.http_client.retry_failing` configuration tree
1414
* added `assertCheckboxChecked()` and `assertCheckboxNotChecked()` in `WebTestCase`
1515
* added `assertFormValue()` and `assertNoFormValue()` in `WebTestCase`
16-
* Added `--as-tree=3` option to `translation:update` command to dump messages as a tree-like structure. The given value defines the level where to switch to inline YAML
16+
* Added "--as-tree=3" option to `translation:update` command to dump messages as a tree-like structure. The given value defines the level where to switch to inline YAML
1717

1818
5.1.0
1919
-----

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function testDumpMessagesAndClean()
3535
public function testDumpMessagesAsTreeAndClean()
3636
{
3737
$tester = $this->createCommandTester(['messages' => ['foo' => 'foo']]);
38-
$tester->execute(['command' => 'translation:update', 'locale' => 'en', 'bundle' => 'foo', '--dump-messages' => true, '--clean' => true, '--as-tree' => true]);
38+
$tester->execute(['command' => 'translation:update', 'locale' => 'en', 'bundle' => 'foo', '--dump-messages' => true, '--clean' => true, '--as-tree' => 1]);
3939
$this->assertMatchesRegularExpression('/foo/', $tester->getDisplay());
4040
$this->assertMatchesRegularExpression('/1 message was successfully extracted/', $tester->getDisplay());
4141
}

0 commit comments

Comments
 (0)