daycry/doctrine

Not work orm:convert-mapping

Closed this issue · 4 comments

Hi,

I try run this command:

vendor/bin/doctrine orm:convert-mapping --namespace='App\Models\Entity' --force --from-database annotation .

This show "Processing entity 'App\Models\Entity\Banner'" but when run the next command

vendor/bin/doctrine orm:generate-entities .

Not created the file in "App\Models\Entity\Banner" and show this warning

[WARNING] Command orm:generate-entities is deprecated and will be removed in Doctrine ORM 3.0.

What I do to fix this? Delete the folder Entity and excecute all command again?

My system:
PHP 7.4.13 (cli) (built: Nov 28 2020 06:24:43) ( NTS )
Composer version 2.0.8 2020-12-03 17:20:38
Ubuntu 18.04.5 LTS

report bug dpctrine

If you're planned migrate to Doctrine 3?

It is an obsolete function notice in doctrine 3