Skip to content

Commit

Permalink
Address deprecations from various bundles
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire committed Feb 2, 2020
1 parent ac575b3 commit ad7acac
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"friendsofsymfony/user-bundle": "^2.0",
"sonata-project/admin-bundle": "^3.34",
"sonata-project/core-bundle": "^3.18",
"sonata-project/datagrid-bundle": "^2.2.1",
"sonata-project/datagrid-bundle": "^2.4.0",
"sonata-project/doctrine-extensions": "^1.5.1",
"sonata-project/easy-extends-bundle": "^2.2",
"swiftmailer/swiftmailer": "^4.3 || ^5.0 || ^6.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Entity/UserManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
namespace Sonata\UserBundle\Entity;

use FOS\UserBundle\Doctrine\UserManager as BaseUserManager;
use Sonata\CoreBundle\Model\ManagerInterface;
use Sonata\DatagridBundle\Pager\Doctrine\Pager;
use Sonata\DatagridBundle\ProxyQuery\Doctrine\ProxyQuery;
use Sonata\Doctrine\Model\ManagerInterface;
use Sonata\UserBundle\Model\UserInterface;
use Sonata\UserBundle\Model\UserManagerInterface;

Expand Down
2 changes: 1 addition & 1 deletion src/Entity/UserManagerProxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
namespace Sonata\UserBundle\Entity;

use Doctrine\Common\Persistence\ManagerRegistry;
use Sonata\CoreBundle\Model\BaseEntityManager;
use Sonata\Doctrine\Entity\BaseEntityManager;

/**
* This UserManageProxy class is used to keep UserManager compatible with Sonata ManagerInterface implementation
Expand Down
4 changes: 2 additions & 2 deletions src/Model/GroupManagerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@

use FOS\UserBundle\Model\GroupInterface;
use FOS\UserBundle\Model\GroupManagerInterface as BaseInterface;
use Sonata\CoreBundle\Model\PageableManagerInterface;
use Sonata\DatagridBundle\Pager\PageableInterface;

/**
* @author Hugo Briand <[email protected]>
*/
interface GroupManagerInterface extends BaseInterface, PageableManagerInterface
interface GroupManagerInterface extends BaseInterface, PageableInterface
{
/**
* Alias for the repository method.
Expand Down
4 changes: 2 additions & 2 deletions src/Model/UserManagerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
namespace Sonata\UserBundle\Model;

use FOS\UserBundle\Model\UserManagerInterface as BaseInterface;
use Sonata\CoreBundle\Model\PageableManagerInterface;
use Sonata\DatagridBundle\Pager\PageableInterface;

/**
* @author Hugo Briand <[email protected]>
*/
interface UserManagerInterface extends BaseInterface, PageableManagerInterface
interface UserManagerInterface extends BaseInterface, PageableInterface
{
/**
* Alias for the repository method.
Expand Down

0 comments on commit ad7acac

Please sign in to comment.