Skip to content

Commit 892d5b5

Browse files
committed
replace deprecated Doctrine\Common\Persistence classes with Doctrine\Persistence
1 parent 9306d75 commit 892d5b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Doctrine/Queue/SyncIndexWithObjectChangeProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
use Interop\Queue\Context;
1111
use Interop\Queue\Message;
1212
use Interop\Queue\Processor;
13-
use Doctrine\Common\Persistence\ManagerRegistry;
13+
use Doctrine\Persistence\ManagerRegistry;
1414

1515
final class SyncIndexWithObjectChangeProcessor implements Processor, CommandSubscriberInterface, QueueSubscriberInterface
1616
{

Doctrine/SyncIndexWithObjectChangeListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
namespace Enqueue\ElasticaBundle\Doctrine;
33

4-
use Doctrine\Common\Persistence\Event\LifecycleEventArgs;
4+
use Doctrine\Persistence\Event\LifecycleEventArgs;
55
use Doctrine\ORM\Event\PostFlushEventArgs;
66
use Enqueue\ElasticaBundle\Doctrine\Queue\Commands;
77
use Enqueue\ElasticaBundle\Doctrine\Queue\SyncIndexWithObjectChangeProcessor as SyncProcessor;

0 commit comments

Comments
 (0)