Skip to content

Commit 4d2df94

Browse files
ogizanaginicolas-grekas
authored andcommitted
Remove PHP < 7.1.3 code
1 parent 9eabff6 commit 4d2df94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dumper/JsonFileDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function formatCatalogue(MessageCatalogue $messages, $domain, array $opti
2828
if (isset($options['json_encoding'])) {
2929
$flags = $options['json_encoding'];
3030
} else {
31-
$flags = defined('JSON_PRETTY_PRINT') ? JSON_PRETTY_PRINT : 0;
31+
$flags = JSON_PRETTY_PRINT;
3232
}
3333

3434
return json_encode($messages->all($domain), $flags);

0 commit comments

Comments
 (0)