Skip to content

Commit 7b1455b

Browse files
committed
3.5
1 parent f694dc1 commit 7b1455b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Formatters/Json.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
function format(array $diff): string
88
{
9-
$json = json_encode($diff, JSON_PRETTY_PRINT);
9+
$json = json_encode($diff, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_THROW_ON_ERROR);
1010

1111
if (json_last_error() !== JSON_ERROR_NONE) {
1212
throw new \Exception("JSON encoding error: " . json_last_error_msg());

0 commit comments

Comments
 (0)