Skip to content

PR d83e346 breaks YAML parsing #19023

@userfriendly

Description

@userfriendly

lint:yaml complains about a YAML file not being valid under certain circumstances since commit d83e346 by @paradajozsef

Example file:
https://github.com/liuggio/ExcelBundle/blob/excel-forks/Resources/config/services.yml

In this case the error message mentions line 91. The issue appears to be related to a commented line following an array. When a blank line is inserted after line 89, before the comment in line 90, the error message is gone.

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