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

[BUG] Symfony Yaml 5.2 component reports errors on valid yaml  #39229

Copy link
Copy link
Closed
@BeyerJC

Description

@BeyerJC
Issue body actions

Symfony version(s) affected: 5,2

Description
I just updated a project to 5.2 and encountered problems with my yaml configuration files.

Configs that did work before are not failing with an yaml parse error.

    App\SwaggerUi\UuidTypeFactory:
        decorates: 'api_platform.json_schema.type_factory'
        arguments: [ '@App\SwaggerUi\UuidTypeFactory.inner' ]  

for example now has an error

!!  In Inline.php line 94:
!!                                                                                                                  
!!    Unexpected characters near " ]" at line 74 (near "arguments: [ '@App\SwaggerUi\UuidTypeFactory.inner' ]  ").    

Also

elao_enum:
    doctrine:
        types: {}           <--- This one          

Now reports invalid yaml.

How to reproduce
Add one of the configurations above in the config.

Possible Solution
Not yet.

Jeroeny

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

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