diff --git a/bin/infection-config.php b/bin/infection-config.php index 2697a32..3114b55 100644 --- a/bin/infection-config.php +++ b/bin/infection-config.php @@ -27,6 +27,6 @@ $decoded->timeout = (int) $timeout; } -echo json_encode($decoded); +echo json_encode($decoded, JSON_PRETTY_PRINT); exit(0); diff --git a/tests/phpt/infection-config-default.phpt b/tests/phpt/infection-config-default.phpt index 78d75bf..cd698df 100644 --- a/tests/phpt/infection-config-default.phpt +++ b/tests/phpt/infection-config-default.phpt @@ -3,23 +3,23 @@ infection-config.php renders proper json defaults --FILE--