Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace usages of old namespace Doctrine\Common\Persistence\ with Doctrine\Persistence\ ("doctrine/persistence" >= 1.3) #3025

Merged
merged 1 commit into from
Sep 24, 2021

Conversation

phansys
Copy link

@phansys phansys commented Sep 17, 2021

This change is required in order to fix the class used in the fos_user.object_manager definition.

bin/console lint:container --no-debug
In CheckTypeDeclarationsPass.php line 314:
                                                                               
  Invalid definition for service "fos_user.user_manager": argument 3 of "FOS\  
  UserBundle\Doctrine\UserManager::__construct()" accepts "Doctrine\Persisten  
  ce\ObjectManager", "Doctrine\Common\Persistence\ObjectManager" passed.  

Availability of "doctrine/persistence" >= 1.3 is already guaranteed:

"doctrine/persistence": "<1.3",

See #3000.

@phansys phansys marked this pull request as ready for review September 17, 2021 22:16
…Doctrine\Persistence\` ("doctrine/persistence" >= 1.3)
@phansys phansys changed the title Fix usages of ObjectManager from "doctrine/persistence" >= 1.3 Replace usages of old namespace Doctrine\Common\Persistence\ with Doctrine\Persistence\ ("doctrine/persistence" >= 1.3) Sep 17, 2021
@phansys phansys changed the base branch from master to 2.x September 17, 2021 22:23
@phansys
Copy link
Author

phansys commented Sep 24, 2021

Friendly ping @stof, @nenadalm, @acrobat.

@stof stof merged commit d2dc95a into FriendsOfSymfony:2.x Sep 24, 2021
@phansys phansys deleted the doctrine_persistence branch September 24, 2021 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants