Commit c228caa
committed
feature symfony#61522 [Runtime] Support runtime options as a string (VincentLanglet)
This PR was squashed before being merged into the 7.4 branch.
Discussion
----------
[Runtime] Support runtime options as a string
| Q | A
| ------------- | ---
| Branch? | 7.4
| Bug fix? | no
| New feature? | yes
| Deprecations? | no
| Issues | Fix symfony#60755
| License | MIT
cc `@nicolas`-grekas since I think you worked a lot on this.
When setting the APP_RUNTIME_OPTIONS with docker or anything else than php, only a string can be used ; so it could be useful to support a string format for such options, I propose the classic json format and then use json_decode on string.
WDYT ?
I'm unsure how this template is tested...
Commits
-------
ecb9358 [Runtime] Support runtime options as a stringFile tree
2 files changed
+5
-1
lines changed- src/Symfony/Component/Runtime
- Internal
2 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | | - | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
| |||
0 commit comments