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

InvalidArgument false-positive #70

Closed
fluffycondor opened this issue Sep 24, 2020 · 1 comment · Fixed by #74
Closed

InvalidArgument false-positive #70

fluffycondor opened this issue Sep 24, 2020 · 1 comment · Fixed by #74

Comments

@fluffycondor
Copy link
Contributor

InvalidArgument - src/Repository/SomethingRepository.php:20:29 - Argument 1 of Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository::__construct expects Doctrine\Common\Persistence\ManagerRegistry, Doctrine\Persistence\ManagerRegistry provided

Doctrine\Common\Persistence\ManagerRegistry has been moved to Doctrine\Persistence\ManagerRegistry namespace.

@weirdan
Copy link
Member

weirdan commented Sep 26, 2020

Doctrine\Common\Persistence\ManagerRegistry deprecated as of doctrine/persistence:1.3 and removed in doctrine/persistence:2.0

weirdan added a commit that referenced this issue Sep 26, 2020
`Doctrine\Common\Persistence\ManagerRegistry` was deprecated in
`doctrine/persistence:1.3` and removed in `doctrine/persistence:2.0`

Fixes #70
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 a pull request may close this issue.

2 participants