Closed
Description
Description
Say we're dumping an array
['data' => ['OTEL_EXPORTER_OTLP_PROTOCOL' => 'grpc']]
It comes out as
data:
OTEL_EXPORTER_OTLP_PROTOCOL: grpc
but there's scenarios which require you to quote every string to make parsing it more robust, it should become:
data:
OTEL_EXPORTER_OTLP_PROTOCOL: "grpc"
ie. even if \Symfony\Component\Yaml\Escaper::requiresDoubleQuoting
decided false, you'd still get the quotes, this could be an opt-in flag used here.
Example
No response