[ERROR] Only annotation or attribute mapping is supported by make:entity, but the <info>App\Entity\User</info> class uses a
different format. If you would like this command to generate the properties & getter/setter methods, add your mapping
configuration, and then re-run this command with the <info>--regenerate</info> flag.
he estado buscando y se ve que es cosa del maker-bundle, he intentado seguir varias soluciones donde recomiendan bajar la versión o añadir un extra para forzar las anotaciones en maker-bundle pero nada.
también he intentado cambiar el mapeo de mi doctrine.yml:
Código PHP:
doctrine:
dbal:
url: '%env(resolve:DATABASE_URL)%'
orm:
auto_generate_proxy_classes: true
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
auto_mapping: false
mappings:
App:
is_bundle: false
type: attribute
dir: '%kernel.project_dir%/src/ewokRestaurant/Domain/Entity'
prefix: 'App\ewokRestaurant\Domain\Entity'
alias: App