Skip to content

[autocorrect] make:entity selects incorrect class when input class contains part of another #794

Open
@monkeyArms

Description

@monkeyArms

I have an existing App\Entity\AppConfigSetting class, and now want to make App\Entity\AppConfig. Attempting make:entity with the non-existing "AppConfig" class gives me the following behavior:

Screenshot 2021-01-24 103923

I've had this happen several times over the past year - always when I'm trying to create a new class that contains part of an existing class name.

symfony/maker-bundle version 1.28

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