The Doctrine\Migrations\Configuration\Configuration class is generating a 
fatal error at $Configuration->setConnectionName(), here is the error: PHP 
Fatal error: Uncaught TypeError: 
Doctrine\Migrations\Configuration\Configuration::setEntityManagerName(): 
Argument #1 ($entityManagerName) must be of type ?string, 
Doctrine\ORM\EntityManager given, called in 
C:\projetos\nova_api\api\vendor\doctrine\migrations\lib\Doctrine\Migrations\Configuration\Migration\ConfigurationArray.php
 
on line 112 and defined in 
C:\projetos\nova_api\api\vendor\doctrine\migrations\lib\Doctrine\Migrations\Configuration\Configuration.php:118.

I am trying to configure the cli-config.php file but it always gives the 
same error even when I am not using $Configuration->setConnectionName(). 
Another thing is that in the documentation at 
https://www.doctrine-project.org/projects/doctrine-migrations/en/3.5/reference/configuration.html#configuration,
 
there are deprecated classes making the implementation difficult.

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/doctrine-user/e822322f-08c7-4fb1-8dff-5dbaf47aaed3n%40googlegroups.com.

Reply via email to