From 4673e724c6465b683f0f67aa9e2afdb52e8f1bf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Planchat?= Date: Mon, 13 Sep 2021 22:27:45 +0200 Subject: [PATCH] Fixed the JSONStreamLoader to add new lines chars --- src/Loader/JSONStreamLoader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Loader/JSONStreamLoader.php b/src/Loader/JSONStreamLoader.php index 640eae5..1c3dbf3 100644 --- a/src/Loader/JSONStreamLoader.php +++ b/src/Loader/JSONStreamLoader.php @@ -6,6 +6,6 @@ final class JSONStreamLoader extends StreamLoader { protected function formatLine($line) { - return \json_encode($line); + return \json_encode($line) . PHP_EOL; } }