8000 minor #19940 [Yaml] Port of #19922 for 3.2 (chalasr) · symfony/symfony@c6f6e05 · GitHub
[go: up one dir, main page]

Skip to content

Commit c6f6e05

Browse files
committed
minor #19940 [Yaml] Port of #19922 for 3.2 (chalasr)
This PR was merged into the 3.2-dev branch. Discussion ---------- [Yaml] Port of #19922 for 3.2 | Q | A | ------------- | --- | Branch? | master | Tests pass? | yes | License | MIT The command has been moved in 3.2 so the new path is unmerged. Commits ------- 017e88b [Yaml] Port of #19922 for 3.2
2 parents 1bcade5 + 017e88b commit c6f6e05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Yaml/Command/LintCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ private function displayJson(SymfonyStyle $io, array $filesInfo)
148148
}
149149
});
150150

151-
$io->writeln(json_encode($filesInfo, JSON_PRETTY_PRINT));
151+
$io->writeln(json_encode($filesInfo, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES));
152152

153153
return min($errors, 1);
154154
}

0 commit comments

Comments
 (0)
0