Skip to content

Deprecations for GenerateCommand::configure() #804

@dkarlovi

Description

@dkarlovi

Jane version(s) affected: 7.6.1

Description

Method "Symfony\Component\Console\Command\Command::configure()" might add "void" as a native return type declaration in the future. Do the same in child class "Jane\Component\JsonSchema\Console\Command\GenerateCommand" now to avoid errors or add an explicit @return annotation to suppress this message.

Method "Symfony\Component\Console\Command\Command::configure()" might add "void" as a native return type declaration in the future. Do the same in child class "Jane\Component\OpenApiCommon\Console\Command\GenerateCommand" now to avoid errors or add an explicit @return annotation to suppress this message.

How to reproduce

Install JanePHP with Symfony 7.0.x, produces these deprecations in logs.

Possible Solution

As suggested.

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