Skip to content

[Yaml][2.3] Regression with standard wildcard mistaken for an inline variable #11835

Closed
@pborreli

Description

@pborreli

Before 45a5863 it was possible to do:

    # Signal Slot API wrapper
    ezpublish.signalslot.event_converter_slot:
        tags:
            - { name: ezpublish.api.slot, signal: * }

like in this file part of eZ Publish.

After (after the recent release of 2.3.19) the following warning and exception are thrown:

PHP Warning:  array_key_exists(): The first argument should be either a string or an integer in vendor/symfony/symfony/src/Symfony/Component/Yaml/Inline.php on line 409

  [Symfony\Component\Yaml\Exception\ParseException]
  Reference "" does not exist at line 171 (near "- { name: ezpublish.api.slot, signal: * }").

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