Skip to content

make:crud tries to use the wrong class when the specified class name is the first part of another class name #141

Open
@thomasisok

Description

For example, I used make:crud to generate a controller for my entity SampleClassification. Then I created another entity Sample, but when I tried to make:crud for Sample I got this error:

[ERROR] The file "src/Controller/SampleClassificationController.php" can't be generated because it already exists.

Metadata

Assignees

No one assigned

    Labels

    BugBug Fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions