Skip to content

Option to dump ~ yaml key on null value #26497

@soullivaneuh

Description

@soullivaneuh
Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? no
Symfony version 4.0

case null === $value:
return 'null';

The null keyword is the only one used if the value is null. It would be great to have a flag to use ~ instead.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions