I am working on Symfony 6.1.12 after updating dependencies with the composer update command, I receive the above error when I do the symfony console make:entity command. My composer.json file below I tried to downgrade the doctrine/orm bundle as shown in this example but it don't work
{
"require": {
"php": ">=8.1",
"ext-ctype": "*",
"ext-iconv": "*",
"doctrine/annotations": "^1.0",
"doctrine/doctrine-bundle": "^2.7",
"doctrine/doctrine-migrations-bundle": "^3.2",
"doctrine/orm": "^2.14.1",
},
"conflict": {
"symfony/symfony": "*"
}
go to your doctrine.yaml
file and comment out type: annotation
then run your maker command again