zenstruck / foundry

A model factory library for creating expressive, auto-completable, on-demand dev/test fixtures with Symfony and Doctrine.
https://symfony.com/bundles/ZenstruckFoundryBundle/current/index.html
MIT License
611 stars 63 forks source link

Stub maker commands: missing command name in error #484

Closed jmsche closed 11 months ago

jmsche commented 11 months ago

Hi,

When running e.g. symfony console make:factory, the error message is missing the command name:

 [ERROR] To run "" you need the "MakerBundle" which is currently not installed.

         Try running "composer require symfony/maker-bundle --dev".

It's because the stub command uses static::$defaultName which is not defined anymore.

kbond commented 11 months ago

Thanks for the report - should be fixed in #485.