Skip to content

No output on CLI #1636

@3ynm

Description

@3ynm

For some reason the CLI is giving me no output at all.

$ ./vendor/bin/openapi --help
$ echo $?
1
$ ./vendor/zircote/swagger-php/bin/openapi --help
$ echo $?
1

Apparently it has something to do with the logger you use to output data. If I put echo $help previous to $logger->info($help), I get the output.

Sadly, I don't know what other information can I give you about my environment to reproduce the issue.

I'm using PHP 8.1.29 on a CentOS 7 environment.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions