Skip to content

Commit 3778016

Browse files
committed
minor #1146 Fix "Doctrine\Common\" deprecated classes (bocharsky-bw)
This PR was merged into the master branch. Discussion ---------- Fix "Doctrine\Common\" deprecated classes Commits ------- 7c335d3 Fix "Doctrine\Common\" deprecated classes
2 parents 13b99cb + 7c335d3 commit 3778016

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/DataFixtures/AppFixtures.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use App\Entity\Tag;
1717
use App\Entity\User;
1818
use Doctrine\Bundle\FixturesBundle\Fixture;
19-
use Doctrine\Common\Persistence\ObjectManager;
19+
use Doctrine\Persistence\ObjectManager;
2020
use Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface;
2121
use Symfony\Component\String\Slugger\SluggerInterface;
2222
use function Symfony\Component\String\u;

src/Repository/PostRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use App\Entity\Tag;
1616
use App\Pagination\Paginator;
1717
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
18-
use Doctrine\Common\Persistence\ManagerRegistry;
18+
use Doctrine\Persistence\ManagerRegistry;
1919
use function Symfony\Component\String\u;
2020

2121
/**

src/Repository/TagRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
use App\Entity\Tag;
1515
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
16-
use Doctrine\Common\Persistence\ManagerRegistry;
16+
use Doctrine\Persistence\ManagerRegistry;
1717

1818
/**
1919
* This custom Doctrine repository is empty because so far we don't need any custom

src/Repository/UserRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
use App\Entity\User;
1515
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
16-
use Doctrine\Common\Persistence\ManagerRegistry;
16+
use Doctrine\Persistence\ManagerRegistry;
1717

1818
/**
1919
* This custom Doctrine repository is empty because so far we don't need any custom

0 commit comments

Comments
 (0)