Skip to content

Enum error in YamlLoader #11

Open
Open
@alexander-schranz

Description

@alexander-schranz

Currently we have the following error:

  datana-gmbh/logz-io-handler/1.7/config .............................. FAILED  
    The command "'/usr/bin/php8.1' '/home/runner/work/symfony-recipes-php-contrib/symfony-recipes-php-contrib/vendor/bin/config-transformer' 'switch-format' '/home/runner/work/symfony-recipes-php-contrib/symfony-recipes-php-contrib/datana-gmbh/logz-io-handler/1.7/config'" failed.
Exit Code: 1
(General error) Working directory: /home/runner/work/symfony-recipes-php-contrib/symfony-recipes-php-contrib Output: ================ Error

Output: ================ In YamlFileLoader.php line 596: The file "/home/runner/work/symfony-recipes-php-contrib/symfony-recipes-php -contrib/datana-gmbh/logz-io-handler/1.7/config/packages/datana_logz_io_han dler.yaml" does not contain valid YAML:

The enum "Inpsyde\LogzIoMonolog\Enum\Host::EuCentral1" is not defined at line 8 (near "$host: !php/enum Inpsyde\LogzIoMonolog\Enum\Host::EuCentral1"). In Inline.php line 578: The enum "Inpsyde\LogzIoMonolog\Enum\Host::EuCentral1" i

We are converting without installing here things If I remember correctly but not sure. I don't know yet how we can fix that as the error is in the YamlFileLoader not able to ignore the Enum.

@TomasVotruba do you maybe have an idea?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions