symfony-cmf / routing-bundle

Symfony bundle to provide the CMF chain router to handle multiple routers, and the dynamic router to load routes from a database or other sources.
160 stars 78 forks source link

Bundle stops working with doctrine/persister:^2 #452

Closed jkabat closed 4 years ago

jkabat commented 4 years ago

Composer does not lock Common/Persistence doctrine libraries and following line breaks when dependencies are upgraded:

https://github.com/symfony-cmf/routing-bundle/blob/master/src/CmfRoutingBundle.php#L16

Update:

Class Doctrine\Common\Persistence\Mapping\Driver\DefaultFileLocator is part of the Common library only up to version v2.8.1, since v2.9 it is part of the doctrine/persistance library.

Do you have any clever idea how to support both cases?

dbu commented 4 years ago

thanks for the heads-up. i fixed this in #453 and tagged 2.4.1

jkabat commented 4 years ago

Thank you.