Skip to content

Fix deprecated Doctrine/common 2.9 and removed on 3 #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Doctrine/Queue/SyncIndexWithObjectChangeProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use Interop\Queue\Context;
use Interop\Queue\Message;
use Interop\Queue\Processor;
use Doctrine\Common\Persistence\ManagerRegistry;
use Doctrine\Persistence\ManagerRegistry;

final class SyncIndexWithObjectChangeProcessor implements Processor, CommandSubscriberInterface, QueueSubscriberInterface
{
Expand Down
2 changes: 1 addition & 1 deletion Doctrine/SyncIndexWithObjectChangeListener.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
namespace Enqueue\ElasticaBundle\Doctrine;

use Doctrine\Common\Persistence\Event\LifecycleEventArgs;
use Doctrine\Persistence\Event\LifecycleEventArgs;
use Doctrine\ORM\Event\PostFlushEventArgs;
use Enqueue\ElasticaBundle\Doctrine\Queue\Commands;
use Enqueue\ElasticaBundle\Doctrine\Queue\SyncIndexWithObjectChangeProcessor as SyncProcessor;
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"php": "^7.1",
"symfony/framework-bundle": "^4.0|^5.0",
"friendsofsymfony/elastica-bundle": "^5.0|^6.0",
"enqueue/enqueue-bundle": "^0.10"
"enqueue/enqueue-bundle": "^0.10",
"doctrine/common": "^3.0.3"
},
"autoload": {
"psr-4": { "Enqueue\\ElasticaBundle\\": "" }
Expand Down