Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 830f286

Browse filesBrowse files
[DI] Dont use JSON_BIGINT_AS_STRING
1 parent 701d41c commit 830f286
Copy full SHA for 830f286

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/DependencyInjection/EnvVarProcessor.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/EnvVarProcessor.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public function getEnv($prefix, $name, \Closure $getEnv)
119119
}
120120

121121
if ('json' === $prefix) {
122-
$env = json_decode($env, true, JSON_BIGINT_AS_STRING);
122+
$env = json_decode($env, true);
123123

124124
if (JSON_ERROR_NONE !== json_last_error()) {
125125
throw new RuntimeException(sprintf('Invalid JSON in env var "%s": '.json_last_error_msg(), $name));

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.