Skip to content
Snippets Groups Projects
Commit c1e3f6e3 authored by Fran Garcia-Linares's avatar Fran Garcia-Linares
Browse files

Issue #3458240 by fjgarlin, Chi: expand_composer_json.php should not encode tags

parent 2e4711aa
No related branches found
No related tags found
1 merge request!232Remove flag when encoding json
Pipeline #227583 passed
......@@ -107,7 +107,7 @@ if ($composer_patches_file) {
// Remove empty top-level items.
$json_rich = array_filter($json_rich);
file_put_contents(empty(getenv('COMPOSER')) ? $path : getenv('COMPOSER'), json_encode($json_rich, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_AMP | JSON_HEX_QUOT));
file_put_contents(empty(getenv('COMPOSER')) ? $path : getenv('COMPOSER'), json_encode($json_rich, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_HEX_APOS | JSON_HEX_AMP | JSON_HEX_QUOT));
/**
* Get default composer.json contents.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment