10000 fix TranslationLintCommand test · symfony/symfony@3eabff5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3eabff5

Browse files
committed
fix TranslationLintCommand test
1 parent 6c100c9 commit 3eabff5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Translation/Tests/Command/TranslationLintCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,6 @@ private function createCommand(Translator $translator, array $enabledLocales): C
148148
*/
149149
private function getNormalizedDisplay(CommandTester $commandTester): string
150150
{
151-
return implode(\PHP_EOL, array_map(fn (string $line) => rtrim($line), explode(\PHP_EOL, $commandTester->getDisplay(true))));
151+
return implode("\n", array_map(rtrim(...), explode("\n", $commandTester->getDisplay(true))));
152152
}
153153
}

0 commit comments

Comments
 (0)
0