Skip to content

Yaml Constant Error On Symfony 4.0.2 #25534

@ad3n

Description

@ad3n
Q A
Bug report? yes
Feature request? no
BC Break report? yno
RFC? no
Symfony version 4.0.2

When using constant in yaml like !php/const:App\Kernel::SEMART_VERSION

in Symfony 4.0.2 is catching an error

Notice: Uninitialized string offset: 69 in <yaml file path>

When use 3.4.2 version, the error is gone

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions