We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e9ac8b commit 44c3464Copy full SHA for 44c3464
src/Command/RaiseToInstalledCommand.php
@@ -60,7 +60,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
60
61
if ($isDryRun === false) {
62
$changedComposerJsonContents = $changedPackageVersionsResult->getComposerJsonContents();
63
- FileSystem::write($composerJsonFilePath, $changedComposerJsonContents . PHP_EOL, null);
+ FileSystem::write($composerJsonFilePath, rtrim($changedComposerJsonContents) . PHP_EOL, null);
64
}
65
66
$symfonyStyle->success(sprintf(
0 commit comments