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
This commit is contained in:
Fabien Potencier 2016-09-15 10:50:15 -07:00
commit c6f6e05e37

View File

@ -148,7 +148,7 @@ EOF
}
});
$io->writeln(json_encode($filesInfo, JSON_PRETTY_PRINT));
$io->writeln(json_encode($filesInfo, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES));
return min($errors, 1);
}