diff --git a/Adapter/ORM/DoctrineORMAdapter.php b/Adapter/ORM/DoctrineORMAdapter.php index f4bb55fa..325c2a35 100644 --- a/Adapter/ORM/DoctrineORMAdapter.php +++ b/Adapter/ORM/DoctrineORMAdapter.php @@ -4,7 +4,7 @@ use Vich\UploaderBundle\Adapter\AdapterInterface; use Doctrine\Common\EventArgs; -use Doctrine\ORM\Proxy\Proxy; +use Doctrine\Common\Persistence\Proxy; /** * DoctrineORMAdapter. diff --git a/Tests/DummyEntityProxyORM.php b/Tests/DummyEntityProxyORM.php index 8ef5aa54..b5df72f6 100644 --- a/Tests/DummyEntityProxyORM.php +++ b/Tests/DummyEntityProxyORM.php @@ -2,7 +2,7 @@ namespace Vich\UploaderBundle\Tests; -use Doctrine\ORM\Proxy\Proxy; +use Doctrine\Common\Persistence\Proxy; /** * DummyEntityProxyORM.