Skip to content

Commit

Permalink
minor #1146 Fix "Doctrine\Common\" deprecated classes (bocharsky-bw)
Browse files Browse the repository at this point in the history
This PR was merged into the master branch.

Discussion
----------

Fix "Doctrine\Common\" deprecated classes

Commits
-------

7c335d3 Fix "Doctrine\Common\" deprecated classes
  • Loading branch information
javiereguiluz committed Sep 10, 2020
2 parents 13b99cb + 7c335d3 commit 3778016
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/DataFixtures/AppFixtures.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use App\Entity\Tag;
use App\Entity\User;
use Doctrine\Bundle\FixturesBundle\Fixture;
use Doctrine\Common\Persistence\ObjectManager;
use Doctrine\Persistence\ObjectManager;
use Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface;
use Symfony\Component\String\Slugger\SluggerInterface;
use function Symfony\Component\String\u;
Expand Down
2 changes: 1 addition & 1 deletion src/Repository/PostRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use App\Entity\Tag;
use App\Pagination\Paginator;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Common\Persistence\ManagerRegistry;
use Doctrine\Persistence\ManagerRegistry;
use function Symfony\Component\String\u;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Repository/TagRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

use App\Entity\Tag;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Common\Persistence\ManagerRegistry;
use Doctrine\Persistence\ManagerRegistry;

/**
* This custom Doctrine repository is empty because so far we don't need any custom
Expand Down
2 changes: 1 addition & 1 deletion src/Repository/UserRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

use App\Entity\User;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Common\Persistence\ManagerRegistry;
use Doctrine\Persistence\ManagerRegistry;

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

0 comments on commit 3778016

Please sign in to comment.