doctrine / DoctrineFixturesBundle

Symfony integration for the doctrine/data-fixtures library
MIT License
2.45k stars 202 forks source link

Remove deprecation layer #312

Closed greg0ire closed 4 years ago

greg0ire commented 4 years ago

doctrine/persistence already provides a deprecation layer for this by using class aliases: Doctrine\Common\Persistence\ManagerRegistry and Doctrine\Persistence\ManagerRegistry are two names for the same thing, there is no need for another layer here, and the type declaration can be restored as it was before.

greg0ire commented 4 years ago

Sorry @lstrojny , I should have spotted this when reviewing #307, since I'm the author of the deprecation layer in doctrine/persistence :sweat_smile:

greg0ire commented 4 years ago

Not exactly what this PR aims to fix, but good points! Please review again.